Skip to main content

Change default apache server.crt

Comments

5 comments

  • Eminds
    What type of SSL you have purchased ? is it wildcard SSL or a multi domain SSL and have you installed this SSL on server hostname ?
    0
  • bloatedstoat
    What type of SSL you have purchased ? is it wildcard SSL or a multi domain SSL and have you installed this SSL on server hostname ?

    It is not a wildcard cert, the certificate is solely for name.domain.com.au which is the server's hostname. I have installed it as the service certificate for exim, cpanel, whm, ftp etc; from within Service Configuration > Manage Service SSL Certificates. How do I update Apache so that the name.domain.com.au certificate replaces the one currently found at /etc/apache2/conf.d/ssl.crt/server.crt? Thanks.
    0
  • cPanelMichael
    Hello, You should be able to install the certificate for the server's hostname via: "WHM Home " SSL/TLS " Install an SSL Certificate on a Domain" Could you let us know of any specific error messages you encounter when using this option? Thank you.
    0
  • bloatedstoat
    "WHM Home " SSL/TLS " Install an SSL Certificate on a Domain" Could you let us know of any specific error messages you encounter when using this option?
    Thanks Michael, I attempted the update and received the following: The domain "hostname.domainname.com.au" is not managed on this server. You must specify an IP address to install SSL for "hostname.domainname.com.au" or set up this domain on a new account, or create it as parked domain, a subdomain, or an addon domain of an existing account, and try again.
    Just to clarify, this is to replace the certificate in /etc/apache2/conf.d/ssl.crt/server.crt which is outputting:
    openssl x509 -in /etc/apache2/conf.d/ssl.crt/server.crt -noout -subject subject= /emailAddress=ssl@ded.serversupplier.com.au/CN=ded.serversupplier.com.au
    I'd like the output to be hostname.domainname.com.au. Thanks.
    0
  • cPanelMichael
    Just to clarify, this is to replace the certificate in /etc/apache2/conf.d/ssl.crt/server.crt which is outputting:
    openssl x509 -in /etc/apache2/conf.d/ssl.crt/server.crt -noout -subject subject= /emailAddress=ssl@ded.serversupplier.com.au/CN=ded.serversupplier.com.au
    I'd like the output to be hostname.domainname.com.au. Thanks.

    Hello, You can manually populate the /etc/apache2/conf.d/ssl.crt/server.crt and /etc/apache2/conf.d/ssl.key/server.key files with CRT and KEY of your new certificate. Thank you.
    0

Please sign in to leave a comment.