Submit Your Article Forum Rules

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Disabling SSL - Apache

  1. #11
    Member
    Join Date
    Aug 2011
    Location
    Michigan, USA
    Posts
    45
    Our SSL certificate has expired, before it expired no such messages came up.
    The reason they now come up is because SSL is still enabled but the certificate is expired.
    The message says as follows.
    Image000.jpg
    As you can see, it warns that the certificate is expired.
    Short of paying to keep the certificate valid, I am not sure what to do.
    If I disable SSL completely, then forwarding https to http will not work. People will get a 404 when they try to access us via https. We are trying to avoid that since there are so many links across the net pointing to us via https.

  2. #12
    Member
    Join Date
    Aug 2011
    Location
    Dallas, Texas
    Posts
    48
    Quote Originally Posted by pcs800 View Post
    Comment this entry in the httpd.conf file
    # Include conf/extra/httpd-ssl.conf
    When you comment this out, Apache should not be listing to port 443 anymore. Because of that, the rule RewriteCond %{SERVER_PORT} 443 should not work because apache has already said the service is unavailable. .HTACCESS works after apache accepts the connection and routes permissions to the correct directory where the .htaccess and .html files are...

  3. #13
    Member
    Join Date
    Aug 2011
    Location
    Michigan, USA
    Posts
    45
    Yep I am aware of that now, I am trying to figure out a way to disable via # Include conf/extra/httpd-ssl.conf yet still forward https requests to http somehow so that links do not become completely dead.

  4. #14
    Member
    Join Date
    Aug 2011
    Location
    Dallas, Texas
    Posts
    48
    May I ask why you want to disable port 443 if you are redirecting?
    A wise equation: Unique content is king + a unique idea = Great Search Engine Rankings!
    Dallas web design Branding and Identity Social Media Management

  5. #15
    Member
    Join Date
    Aug 2011
    Location
    Michigan, USA
    Posts
    45
    Because we do not use an ssl certificate anymore. We used to have store.mysite dot com but now we use esellerate.
    But traffic still goes to https and we don't want to lose them.

  6. #16
    Member
    Join Date
    Aug 2011
    Location
    Dallas, Texas
    Posts
    48
    Ahh.. I was assuming you wanted to disable SSL for security reasons, IE to a data server... In your case, I would leave port 443 enabled and simply use the redirect method you are using. The SSL cert is used by the browser, but before the browser is able to verify or check SSL certs, it will have already executed the redirect instructions.

    You should be fine and your goal would be accomplished.
    A wise equation: Unique content is king + a unique idea = Great Search Engine Rankings!
    Dallas web design Branding and Identity Social Media Management

  7. #17
    Member
    Join Date
    Aug 2011
    Location
    Michigan, USA
    Posts
    45
    yeah that's what I planned to do before but people are getting that warning I posted above. My boss doesn't like it and i don't know what to do about it.
    Seems like when SSL certs expire, there should be some kind of file to replace them that says "this site no longer supports https, you are being redirected to http" or something.

  8. #18
    WebProWorld MVP deepsand's Avatar
    Join Date
    May 2004
    Location
    State College, PA
    Posts
    16,468
    Quote Originally Posted by pcs800 View Post
    Our SSL certificate has expired, before it expired no such messages came up.
    That is wholly immaterial to the fact that browsers, not you, make the call as to what situations are important enough so as to warrant warning the user; and, that users control their browser settings in such regards.

    What you seek to do is to subvert the intent of HTTPS by hacking the users' browsers so as to suppress such warnings.

  9. #19
    Member
    Join Date
    Aug 2011
    Location
    Dallas, Texas
    Posts
    48
    Those errors are caused by the browser... When you put HTTPS, the browser is going to look for a certificate, however in theory, before it gets a chance - it should redirect... If your getting errors, have you looked into getting a "self-signed" certificate?
    A wise equation: Unique content is king + a unique idea = Great Search Engine Rankings!
    Dallas web design Branding and Identity Social Media Management

  10. #20
    WebProWorld MVP deepsand's Avatar
    Join Date
    May 2004
    Location
    State College, PA
    Posts
    16,468
    Robust and fully configured browsers would then display a warning re. being redirected to an insecure page, asking the user whether or not to proceed.

    You cannot bypass all possible browser warnings re. the transition from a secure to an insecure environment.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •