为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Removed certificate from website. And firefox keeps adding the s back in the address? How do I stop firefox from doing that?

  • 7 个回答
  • 5 人有此问题
  • 25 次查看
  • 最后回复者为 FredMcD

more options

Removed certificate from website. So it went from "https://" to "http://". And firefox keeps adding the s back in when I type the address in the address bar and using links. How do I stop firefox from adding the "s" back in? I tried deleting cookies, clearing the cache, and deleted firefox. Then I reinstalled firefox and it didn't fix it.

Removed certificate from website. So it went from "https://" to "http://". And firefox keeps adding the s back in when I type the address in the address bar and using links. How do I stop firefox from adding the "s" back in? I tried deleting cookies, clearing the cache, and deleted firefox. Then I reinstalled firefox and it didn't fix it.

所有回复 (7)

more options

This happens to me off and on too - no idea why (FF adding s to the http). Eventually it stops for me for a relatively long time, then comes back when I've almost forgotten about it. It looked almost to me like some 'learning' program thought I mis-typed. It happens to me with exactly one web address (not the same one).

more options

The website is secured, so the link changes adding the S to show this. Is there a reason this bothers you?

more options

FredMcD said

The website is secured, so the link changes adding the S to show this. Is there a reason this bothers you?
I removed the certificate, and firefox keeps adding the s to the address.  And says this page is not secure and I'm unable to go to the site. The site works fine on explorer,chrome and opera. I just can't see the page on firefox?
more options

Hi gilberteaz, I assume you are not using HTTPS Everywhere or a similar extension, this is just normal Firefox.

So one possible explanation is:

Strict Transport Security

Are you getting an error page? If so, does it include this phrase:

"This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox only connect to it securely."

If so, unfortunately, that will affect all prior visitors to the site: their Firefox has stored that setting. It can be cleared, but the methods are not very convenient:

(1) Remove all information about the site from Firefox, or (2) Edit or remove Firefox's settings file which stores HSTS information

Forget About This Site

Firefox offers a way to remove ALL DATA for a site, including the saved HSTS flag AND cached pages, history entries, cookies, bookmarks, and site-specific permissions. For a casual visitor, this method might be fine, but it's probably not a good idea for you.

If you want to try it:

  • Open the Library dialog to your history, either
    • Windows: Ctrl+Shift+h
    • History menu > "Show All History"
  • right-click a history entry for the site and choose "Forget About This Site"

That might take several moments if you have a large cache and a traditional spinning hard drive. There is no "Undo" for this so be sure you want to do it!

Your HTTP address should no longer get redirected to HTTPS (if it is, it could be on the server).

Edit or Remove Settings File

Firefox keeps HSTS flags and related data in a settings file named "SiteSecurityServiceState.txt" in your currently active profile folder. This is a plain text file you could edit, or if you remove it, Firefox will rebuild it as you revisit those sites. While there is some site data in here that perhaps you might not want to lose, I don't think it's crucial.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button (on Mac: Show in Finder). This should launch a new window listing the various files and folders in your profile folder.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename SiteSecurityServiceState.txt to something like SiteSecurityServiceState.old (or if your Windows still has the default setting to hide the .txt extension, it might be simpler to rename it to SiteSecurityServiceState-old).

Start Firefox back up again, and when you get the certificate error page, you now should see the Add Exception button.

more options

You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Note that using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks and history and cookies and passwords and cache and exceptions, so be cautious. If you have a password or other data from that domain like bookmarked pages that you do not want to lose then make sure to backup this data or make a note.

Can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website then data from that website will be saved once again.

more options

Thank you for the help. The "S" in gone!

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily.

Thank you for contacting Mozilla Support.