Prestashop store not display after installation - windows

hello preparing a demo for someone,
I have followed the step to install a Prestashop locally on Laragon.
all was working well till the end of installation and installation folder removal.
now all the links are down and I got an error about the SSL certificate that says this website can't offer secure connexion. the answer sends by the website is wrong.
have you already encountered this kind of issue with Prestashop installation and how to get out of this?

You can fix this easily Enabling the SSL certificate built-in with Laragon.
Just right click on the (maybe hided) Laragon icon on the system tray (located at the bottom right in the Windows Taskbar) and then -> Apache -> SSL -> Enabled (be sure after the selection it will be checked then).
Then just click in the same way on -> Apache -> Reload, and then reload the page on the browser to see your https website version in locale.

You probably chose to enable SSL during installation, while your local environment does not come with a trusted certificate.
Anyway you should be able to reach backoffice by trusting the browser alert and disable SSL support from "Advanced parameters" menu.
If not, go direcly in DB (ps_configuration table) and force disabling SSL by setting "PS_SSL_ENABLED" and "PS_SSL_ENABLED_EVERYWHERE" config keys to 0 value.

Related

Laravel Valet associating incorrect certificate with secure link

I've been using Laravel Valet for while, and I've just encountered a situation that is working my last nerve: after creating a new Laravel project, I went to the public directory and did valet link my_project, then valet secure my_project. Now, valet links shows https://my_project.test but when going there, I get "Your connection is not private".
In Chrome, you can click on "Not Secure" and see the certificate, and when I do this, it shows the certificate for a different one of my projects! I have looked at my ~/.config/valet/Certificates directory, and the my_project.test files are all there (.conf, .crt, .csr, and .key). Any helpful suggestions would be most welcome.
Okay—thanks to #Rory, the problem is solved! Here are the steps:
Run composer global update.
Run valet restart.
Do valet unsecure my_project, then valet unlink my_project.
Do valet link my_project, then valet secure my_project
...and Bob's your uncle!
The answer above is correct, but if you are like me and use Firefox, you can get frustrated. The reason for this on Firefox is that this browser manages its certificates on its own, and not using the root certificates from your current computer. Because of this, you are required to import your Valet Root Certificate to the browser to allow this to open Valet website as secure.
Before fixing your browser, is important to know where your Valet setup stores the new CA Certificate:
~/.config/valet/CA/LaravelValetCASelfSigned.pem
I recommend you copy this file on your desktop to find it easily.
To fix your browser and make it work again with Valet you need to:
Open Firefox (Yes, I always assume the browser is closed).
Go to Settings (Triple bar icon on the right top corner) or CMD+,.
Click on Privacy and Security.
Scroll Down until you find Security > Certificates. Click on View Certificates....
On the new screen, Click on Authorities.
Scroll until the end of the screen (Be sure to scroll, because it looks like there's a nested scroll on that screen) until you find the Import... option.
Look for the LaravelValetCASelfSigned.pem file and click Open.
Click Ok and close and reopen your Browser.
Now your Firefox browser should work as expected.

Windows - Get ERR_SSL_SERVER_CERT_BAD_FORMAT on local site

I am working on Windows 10, using Ampps. I have created a domain (tps.local) using Ampps Panel with support to SSL. I see it creates a cert, but when I work from Chrome I get Get ERR_SSL_SERVER_CERT_BAD_FORMAT error.
I have tried:
Importing certificate as trusted.
Setting url on Windows trusted sites list.
Changing flag in Chrome to allow unsecure localhost certificate
Setting time adjustment to automatic
Cleared SSL cache.
After every change I have restarted chrome using chrome://restart
Do I have to create a new certificate? I have installed OpenSSL for Windows, but I am not sure (if necessary) how to proceed since Ampps already created a cert.
Fixed problem by self-signing certificate here:
I've entered "somesite.local 192.168.0.2".
Then add domain in ampps panel with SSL checkbox on.
Then replace apache\conf\ssl_key\YOURDOMAIN.key and apache\conf\ssl_crt\YOURDOMAIN.crt with those you got from zerossl.
Note: Don't forget to restart Apache
It's not a solution, but a workaround:
Switch to Firefox, because you can easily ignore the warning there (at least for now - Firefox 58).

Proxy configuration in JMETER is not working for Chrome

Proxy configuration in JMETER is not working for Chrome 57.0.2987.133 (64 bit).
I did import of JMETER certificate through MMC console and added my applications URL to Cross-Certificate tab as well.
It gives error - Your connection is not private. Attackers might be trying to steal your information from "application URL" NET::ERR_CERT_REVOKED
Please help to resolve this.
Regards.
Sandeep
Not sure what do you mean by MMC console, as per Installing the JMeter CA certificate for HTTPS recording chapter of the JMeter documentation on the HTTP(S) Test Script Recorder
Installing the certificate in Chrome or Internet Explorer
Both Chrome and Internet Explorer use the same trust store for certificates.
Browse to the JMeter launch directory, and click on the file ApacheJMeterTemporaryRootCA.crt, and open it
Click on the "Details" tab and check that the certificate details agree with the ones displayed by the JMeter Test Script Recorder
If OK, go back to the "General" tab, and click on "Install Certificate …" and follow the Wizard prompts
Also given you use Chrome you can consider an alternative way of recording a JMeter test, there is JMeter Chrome Extension, if you switch to it you won't have to worry about proxies and SSL certificates.
This issue got resolved after installation of certificate procedure given by Dmitri T above.
I was doing same thing but without removing existing certificates.
I should have removed existing and then installed.
After installation of certificate its better to reopen it and verify its installation status that its not in uninstalled state.
Select JAVA in 'HTTP sampler settings' Type.
Please check with another browser to see if you get the same message, it not, clear your browser's data and try again.

Firefox cannot open Google (sec_error_unknown_issuer)

I am trying to fix the following issue.
On a Windows 7 machine, I installed the latest version of Firefox (40.0.3). However, when I try to open https://www.google.ch, I get the following error:
sec_error_unknown_issuer.
There is NO button that says
I understand the risks
Other sites, like youtube (using HTTPS), load without errors.
I already deleted the cert8.db file, and the date and time of the machine are also correct.
Any ideas on how to fix this?
Open this chrome URI by pasting or typing this URI in the location/address bar to open the "Add Security Exception" window and check the certificate:
chrome://pippki/content/exceptionDialog.xul
In the location field type/paste the URL of the website
retrieve the certificate via the "Get certificate" button
inspect the certificate via the "View..." button

User mycomputer\myloginName does not have required permissions

I am trying to access the report manager url for SSRS. But, I keep on getting the error below -
User mycomputer\myloginName does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.
I tried to run my browser as admin as described here - User '' does not have required permissions, SSRS 2008 on Windows 8
with no success. I also don't see the 'site settings' on top-right corner as mentioned by so many people. Also, I cannot go through the pain of reinstalling SQL server all over again. I don't want to disable UAC.
I am unable to do anything because of this problem.
How do I fix this problem?
This solution is for Internet Explorer. I don't know how it can be done for firefox or chrome.
Link 1 -
http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/9b5a8763-84ce-46d0-b011-067ad39223d1/
See the solutions by Chirag Shah. Follow only up to step 13. I could not follow Step 14 because I found no home dialog box.
In the steps Chirag talks about some URL's. I don't really understand the meaning of any of those URL's. So, I used the URL under "Report Manager URL" in "Reporting Services Configuration Manager". It was
http://localhost:8080/MyReportServer.
The 8080 is a port number.
Once you finished this, go to the link below and follow all the steps -
http://www.soheib.com/technical-knowledge/sql-server-2012-reporting-services-uac-user-access-control/
In the 7th step, I saw a lot of check boxes. I selected all of them.
Finally, I can rest in peace. Hope it works for you too.
Also, when making the accounts described in the above link, you might see "BUILTIN\Administrators" account. Ignore it - thats what i did.
**END OF POST**
Steps taken from Chirag Shah's post -
Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
Start Windows Internet Explorer.
On the Tools menu, click Internet Options.
Click Security.
Click Trusted Sites.
Click Sites.
Under Add this Web site to the zone, type http://ServerName. If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
Click Add.
Repeat step 7f and step 7g to add the http localhost URL, and then click Close.
Note This step enables you to start Internet Explorer and open either the localhost or the network computer name of the server for both the Report Server application and the Report Manager application.
Create role assignments that explicitly grant you access together with full permissions. To do this, follow these steps:
Start Internet Explorer together with the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
Open Report Manager. By default, the Report Manager URL is http://ServerName/reports. If you use SQL Server Express with Advanced Services SP2, the Report Manager URL is http://ServerName/reports$sqlexpress. If you use a named instance of Reporting Services, the Report Manager URL is http://ServerName/reports$InstanceName
i was receiving blank page after i was logging exactly 3 times on my report server URL.
i've Turn Off Internet Explorer Enhanced Security. On different OS's it is in different location. find the location and turn it off.
I hope this will help you.

Resources