Skip to main content

AutoSSL not replacing all certs on domain

Comments

15 comments

  • cPRex Jurassic Moderator
    Hey there! This is something that should be happening automatically, so it might be best to submit a ticket to our team so we can look into this for you. If you do, please post the ticket number here so I can follow along and also keep the community updated with our findings.
    0
  • Direct Web Solutions
    Hey there! This is something that should be happening automatically, so it might be best to submit a ticket to our team so we can look into this for you. If you do, please post the ticket number here so I can follow along and also keep the community updated with our findings.

    Hey cPRex, the ticket number is #94097588.
    0
  • cPRex Jurassic Moderator
    Thanks!
    0
  • AlternativeInternet
    I am seeing this too. Do we have a bug number? Is there a finger fix? If I run the ccs-check script in debug (perl -w perl -w /usr/local/cpanel/scripts/ccs-check --run --ssl), even from the /usr/local/cpanel/ folder, I get perl compilation errors: [CODE=bash]perl -w /usr/local/cpanel/scripts/ccs-check --run --ssl --force Can't locate experimental.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Cpanel/NetSSLeay/ErrorHandling.pm line 11. BEGIN failed--compilation aborted at Cpanel/NetSSLeay/ErrorHandling.pm line 11. Compilation failed in require at Cpanel/NetSSLeay.pm line 14. BEGIN failed--compilation aborted at Cpanel/NetSSLeay.pm line 14. Compilation failed in require at Cpanel/NetSSLeay/Base.pm line 11. BEGIN failed--compilation aborted at Cpanel/NetSSLeay/Base.pm line 11. Compilation failed in require at /usr/share/perl5/vendor_perl/parent.pm line 20. BEGIN failed--compilation aborted at Cpanel/NetSSLeay/BIO.pm line 11. Compilation failed in require at Cpanel/SSLService.pm line 16. BEGIN failed--compilation aborted at Cpanel/SSLService.pm line 16. Compilation failed in require at /usr/local/cpanel/scripts/ccs-check line 54.
    I wonder if it's related to my server using ECDSA SSL certificates?
    0
  • cPRex Jurassic Moderator
    @AlternativeInternet - this doesn't seem like a problem related to the SSL system, but an issue with the perl modules on the server. Can you try running the following command on the system to see if that fixes anything? /scripts/check_cpanel_rpms
    0
  • AlternativeInternet
    I get no output from the requested command. Has anything been discovered on the other customer's ticket yet? Should I open a separate ticket?
    0
  • AlternativeInternet
    OK, I was able to figure out the issue. To start, I have had CCS installed for a while, so I was thrown off by the presence of the "domain-TLS" folder in the ccs config. It looks like this WAS used in the past, but stopped being used on port 2080 recently (looks like it relies on the service subdomain proxy to redirect to the server hostname). Additionally, for some reason, the pem was not getting updated with my latest cpanel cert, rather it was content to keep using the expired cert. I renamed the pem file in the ccs config folder and ran the scripts above, and it properly copied over the new cert.
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to find a good workaround for that issue!
    0
  • Hedloff
    We also got the same issue on version 94. So this bug has not been fixed yet? I removed the .pem file, and then restart cpanel-ccs and also ran script: /opt/cpanel-ccs/conf/domain-TLS# /scripts/ccs-check --run --ssl --force SSL information updated. But .pem file was not recreated. Can we safely remove the whole domain-TLS folder?
    0
  • cPRex Jurassic Moderator
    Sure - just rename that folder to domain-TLS.bak so it can't be read/overwritten by the system in case you do need it.
    0
  • Hedloff
    mail.domain.tld:2080 is still not working and gives error: NET::ERR_CERT_COMMON_NAME_INVALID I can see SSL for that port and domain is now used by server hostname and not mail.domain.tld anymore. But ccs should now work since it uses a valid server SSL?
    0
  • cPRex Jurassic Moderator
    What if you just try domain.com instead of mail.domain.com?
    0
  • Hedloff
    Same issue there. It's using servers hostname.
    0
  • cPRex Jurassic Moderator
    That's definitely odd - could you submit a ticket to our team so we can check that?
    0
  • Hedloff
    Just an update on the issue here from our tickets with cPanel. It's a bug and is being fixed in
    0

Please sign in to leave a comment.