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
Related
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.
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.
I published my project's code on development server. Before publishing it, I created a website on IIS it's link 192.168.1.133:601 (localhost)
But on chrome get ERR_UNSAFE_PORT error.
Tried Explorer and Edge browser therefore it works.
Actual Result: On chrome get ERR_UNSAFE_PORT
Expected Result: Website works.
After my long researches, I found some port list this is restircted by Google.
Thus, I realized that, my port in the list then I changed the port.
Link is https://chromium.googlesource.com/chromium/src.git/+/refs/heads/master/net/base/port_util.cc
In July 2021, I encountered this problem and most of the standard fixes had already become obsolete (especially the one where you open 'Chrome Properties', since I use a Macbook.)
This is a MacOS-specific workaround, and here are the steps:
First, locate the Chrome icon in your 'Applications' folder, then right-click to select 'Show Package Content'. Double-click, to enter into the sub-folder. Select 'MacOS'. Inside, you'll see the Google Chrome executable. Rename it 'portfix', then open up a terminal.
/Applications/Google\ Chrome.app/Contents/MacOS/portfix --explicitly-allowed-ports={port_you_want_unblocked}
Don't forget to undo all of this when you're done with your tests, as this is a vulnerable way to leave your browser for too long!
In my case I used Port 87 and got the error ERR_UNSAFE_PORT.
After changing the Port the site is working...
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.
I am trying to use WatiN to do some screen scraping type of work. It runs on our site on a scheduler. I have no need to see the UI, I just need it to do the work. I can navigate the sites with no issue , but when trying to downlaod the files I have 2 problems.
Using IE 11 when it comes time to download , I get stuck on the open/save dialog that pops up. I have tried and tried and tried everything to have IE 11 auto download files, but to no avail. I edited the registry, and tried every option in the security tab, but no luck. I tried using SendKey.Sendwait("{TAB}"), to mimic what would need to be pressed , but I get "access denied" I think the "ui" is locked.
so I tried Firefox, firefox is easy to configure "automatic downlaods" .... but
FireFox wont even connect, I get: No connection could be made because the target machine actively refused it 127.0.0.1:9997 I installed the appropriate jjsh addon and install it globally for all users from the command line, but still no luck.
Any suggestions on how to disable that yellow bar that IE 11 puts at the bottom of the screen to annoy you , or what I might try with firefox? I believe configuring IE 8 to disable the yellow dialog bar is possible, but I am on a windows 8 machine , so I'm stuck with IE 11, or possibly 10.
You can keep trying to find a solution but that solution will probably break in a next release of IE (based on previous experience) to be able to finally solve and be future proof (if there's such a thing in development....) I would suggest to navigate to the page that has the link and get the HREF portion of it and once you have that link just do the download using other ways, like the following:
(this is just pure C#, not watin)
string downloadURL = "http://example.com/retrievePDF.jsp?id=XXXXX";
client.DownloadFile(downloadURL, #"C:\temp\" + fName + ".pdf");
you should replace the downloadURL with the value on the HREF of your download link and you will be able to find the file where you specify it.