Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2004
    Posts
    139

    Default SSL certificates need to be re-installed regularly

    Hi,

    Okay this is really irritating me now! Every so often on a number of Cpanel servers, https domains stop working altogether. The only solution is to re-install the certificates for one account via WHM >> Web SSL/TLS >> Install a SSL Certificate and Setup the Domain and then they all come back online.

    This is not related to the stunnel problem, and all certificates are commercial valid ones. Also all accounts have their RSA keys and CRTs correctly setup within their Cpanel and under the relevant /usr/share/ssl/ directories.

    Anyone know why this keeps re-occurring and how to stop it?!

    Regards,
    Suhail.
    DNSCluster.co.uk - multiple geographically dispersed DNS Cluster provider!
    R1Soft Leased CDP Licenses

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2004
    Posts
    139

    Default

    Anyone? This is a really irritating recurring problem!
    DNSCluster.co.uk - multiple geographically dispersed DNS Cluster provider!
    R1Soft Leased CDP Licenses

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Your best option is to open a support ticket when that happens so we can see what is occuring and resolve it.

  4. #4
    Member
    Join Date
    Dec 2003
    Posts
    18

    Default Thank you suhail !

    I had the same issue. followed multiple threads and fixes for stunnel, even cpanel upgrades with no luck. reinstalled one certificate through whm and they all came back.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    280

    Default

    Odd, I've never experienced this and we've got over 100 active SSL sites.... The only thing I can think of is if ipaliases has stopped on the server ( /sbin/service ipaliases restart should fix it if so: I've noticed sometimes that if a server is rebooted it only restarts ipaliases 90% of the time)

  6. #6
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Quote Originally Posted by suhail View Post
    Hi,

    Okay this is really irritating me now! Every so often on a number of Cpanel servers, https domains stop working altogether. The only solution is to re-install the certificates for one account via WHM >> Web SSL/TLS >> Install a SSL Certificate and Setup the Domain and then they all come back online.

    This is not related to the stunnel problem, and all certificates are commercial valid ones. Also all accounts have their RSA keys and CRTs correctly setup within their Cpanel and under the relevant /usr/share/ssl/ directories.

    Anyone know why this keeps re-occurring and how to stop it?!

    Regards,
    Suhail.

    Are you saying the certs are actually getting deleted or that you just can't access the sites with https://? If the latter is the case, do the following commands from shell:
    service httpd stop
    service httpd startssl

    And your ssl sites should start working again. As to the cause, is your httpd being stopped and started by some script or process? A normal "service httpd start" won't start the ssl service.

  7. #7
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by casey View Post
    A normal "service httpd start" won't start the ssl service.
    "service httpd start" starts SSL sites on a cpanel server. I just did one here and checked.

  8. #8
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Quote Originally Posted by brianoz View Post
    "service httpd start" starts SSL sites on a cpanel server. I just did one here and checked.
    Not always. Trust me.

  9. #9
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by casey View Post
    Not always. Trust me.
    I should qualify my original post by saying that was on Centos - two different versions. So I'd be confident it would start SSL on all Centos hosts. And if it doesn't, for heaven's sake get in there and fix it so it does!!

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2004
    Posts
    139

    Default

    Hi Casey,

    Well that worked!

    # service httpd startssl

    restarts the SSL sites, whilst

    # service httpd start

    does not start SSL sites.

    So the questions is, that when new entries are added to httpd.conf, which scripts restarts Apache as this should be modified?

    Server is also runnning SIM to restart Apache if it is unavailable, so perhaps I need to change something in its config.

    Regards,
    Suhail.
    DNSCluster.co.uk - multiple geographically dispersed DNS Cluster provider!
    R1Soft Leased CDP Licenses

  11. #11
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    service httpd start only works for ssl when apache is running normally. If it crashes you need to run startssl. If I'm not mistaken, chkservd will restart apache with ssl, so I would just turn off that function in SIM.

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2004
    Posts
    139

    Default

    Ah yes that makes sense!

    I'll give it a go and see how it works.

    Thanks!
    Suhail.
    DNSCluster.co.uk - multiple geographically dispersed DNS Cluster provider!
    R1Soft Leased CDP Licenses

Similar Threads & Tags
Similar threads

  1. SSL Certificates - Deleting unwanted certificates
    By DReade83 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-18-2007, 07:47 AM
  2. SSL Certificates
    By Chocobo22687 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-24-2006, 11:04 PM
  3. Replies: 16
    Last Post: 03-04-2005, 11:32 PM
  4. SSL Certificates
    By iD. Joel in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-27-2003, 12:49 PM
  5. SSL Certificates
    By thevsp in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-06-2002, 10:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube