Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I recently added SSL to my server using a self-signed certificate. The goal was to access phpMyAdmin without sending my credentials over the Internet in plain text.

This works great for phpMyAdmin, but now I'm having trouble with my primary website. For some reason, trying to access the site without specifying "http" in Firefox will default to an HTTPS connection. The issue only appears to be with Firefox. Safari navigates to my site without redirecting, as does my iPhone (I haven't tried IE yet).

Given I'm using a self-signed cert, I would rather not have traffic getting a warning that the certificate isn't valid. Any ideas what might be causing this? I'm not sure where to look.

share|improve this question
    
There is an extension in Firefox that use HTTPS by default dans HTTP in last case (eff.org/https-everywhere). Do you have it ? All the clients are in the same case ? –  Dom Aug 21 '12 at 6:29
1  
Have you tried clearing your browser cache and checking? Also, As Dom mentioned, check if you have any sort of firefox addon that will redirect traffic from http to https –  Chida Aug 21 '12 at 6:52
    
What about Firebug Network log when you trying to reach www.yuoursite.com (with no "http://" or "https://") specified? What is the first request? Does 302 redirect occurs? –  webbandit Aug 21 '12 at 12:13
    
Clearing the browsing cache seems to do the trick. I have phpMyAdmin set up to force SSL. Once I browse back to phpMyAdmin the problem starts again. This seems to be an issue with autocomplete in the Firefox url field. –  Jason George Aug 21 '12 at 17:34
    
No browser extensions for HTTPS by the way.. –  Jason George Aug 21 '12 at 17:35
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.