Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Copied portable version of Firefox to a new Win7-64 PC and get a certificate invalid error on google.com and also got a read only error from Program Files (x86)

  • 6 个回答
  • 1 人有此问题
  • 12 次查看
  • 最后回复者为 inntel

more options

I copied my Firefox Portable from a 32bit Windows XP to a 64bit Windows 7. First I copied it to the Program Files (x86) folder but Firefox gave a error that it can't work on a read only drive, which it isn't. I checked the FirefoxProtavble folder and it was set to readonly so I changed it on that folder and subfolders and Firefox still gave the error. I then created a Programs (Portable) Folder on the root and made sure it was not readonly and the error disappeared. However I get an invalid certificate error when I try to go to google.com. The same copy works fine on Windows XP. I tried deleting the cert8.db foile from the profile and still get the error. BTW Firefox is version 40.3 and Windows is fully up to date. I am running Kaspersky Total Security which asked me to install an extension when I first started Firefox.

I copied my Firefox Portable from a 32bit Windows XP to a 64bit Windows 7. First I copied it to the Program Files (x86) folder but Firefox gave a error that it can't work on a read only drive, which it isn't. I checked the FirefoxProtavble folder and it was set to readonly so I changed it on that folder and subfolders and Firefox still gave the error. I then created a Programs (Portable) Folder on the root and made sure it was not readonly and the error disappeared. However I get an invalid certificate error when I try to go to google.com. The same copy works fine on Windows XP. I tried deleting the cert8.db foile from the profile and still get the error. BTW Firefox is version 40.3 and Windows is fully up to date. I am running Kaspersky Total Security which asked me to install an extension when I first started Firefox.

被采纳的解决方案

You can check if you can find the "Kaspersky Anti-Virus Personal Root Certificate" in this folder:

  • "C:\ProgramData\Kaspersky Lab\AVP15.0.1\Data\Cert\"
定位到答案原位置 👍 1

所有回复 (6)

more options

There is security software like Avast and Kaspersky that intercept secure connections and send their own certificate.

If you can't inspect the certificate via "I Understand the Risks" then try this:

Open the "Add Security Exception" window by pasting this chrome URL in the Firefox location/address bar and check the certificate:

  • chrome://pippki/content/exceptionDialog.xul

In the location field of this window type or paste the URL of the website.

  • retrieve the certificate via the "Get certificate" button
  • click the "View..." button to inspect the certificate in the Certificate Viewer

You can inspect details like the issuer and the certificate chain in the Details tab of the Certificate Viewer. Check who is the issuer of the certificate. If necessary then you can attach a screenshot that shows the certificate viewer.

If the certificate is issued by your Kaspersky security software then you have two options:

more options

Thanks for the super quick response. I've installed the root certificate from Kaspersky but it doesn't tell me where it put it and I can't find it when searching for a *.cert, *.crt, cert*.*, and so on so there's no way for me to tell Firefox to use that certificate. My only solution may be to disable SSL scaning, which I'm not too happy about.

more options

You need to import the Kaspersky root certificate in the Firefox Certificate Manager.

  • Tools > Options > Advanced > Certificates: View Certificates

When prompted, place a tick on "Trust this CA to identify websites" trust bit to make the imported certificate work as a trusted root certificate to trust websites. Note that trust bits should only be set for a root certificate and never for intermediate certificates.

more options

I know where to get Firefox to import a certificate, I just can't find where Kaspersky put the one I installed in Total Security's network options.

I guess I will have to ask the question on Kaspersky's forum since the problem is caused by Total Security. I don't want to deactivate it on SSL but I might have to.

more options

选择的解决方案

You can check if you can find the "Kaspersky Anti-Virus Personal Root Certificate" in this folder:

  • "C:\ProgramData\Kaspersky Lab\AVP15.0.1\Data\Cert\"
more options

Found it! And it worked. I was looking in "C:\Program Files (x86)\Kaspersky Lab\" when it was here: "C:\ProgramData\Kaspersky Lab\AVP16.0.0\Data\Cert".

I can now safely use https websites.

Thank you for your help.