apache renew ssl not working [on hold]

Posted by Varun S on Server Fault See other posts from Server Fault or by Varun S
Published on 2014-08-16T07:08:49Z Indexed on 2014/08/18 22:23 UTC
Read the original article Hit count: 424

Filed under:
|

Downloaded a new ssl cert from go daddy and installed the cert on apache2 server

put the cert in /etc/ssl/certs/ folder put the gd_bundle.crt in the /etc/ssl/ folder

private key is in /etc/ssl/private/private.key

I just replaced the original files with the new files, did not replace the private key.

I restarted the server but the website is still showing old certificated date.

What am I doing wrong and how do i resolve it ?

my httpd.conf file is empty, the certificated config is in the sites-enabled/default-ssl file

the server is apache2 running ubuntu 14.04 os

 SSLEngine on

    #   A self-signed (snakeoil) certificate can be created by installing
    #   the ssl-cert package. See
    #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
    #   If both key and certificate are stored in the same file, only the
    #   SSLCertificateFile directive is needed.
        SSLCertificateFile    /etc/ssl/certs/2b1f6d308c2f9b.crt
        SSLCertificateKeyFile /etc/ssl/private/private.key

    #   Server Certificate Chain:
    #   Point SSLCertificateChainFile at a file containing the
    #   concatenation of PEM encoded CA certificates which form the
    #   certificate chain for the server certificate. Alternatively
    #   the referenced file can be the same as SSLCertificateFile
    #   when the CA certificates are directly appended to the server
    #   certificate for convinience.
        SSLCertificateChainFile /etc/ssl/gd_bundle.crt


-rwxr-xr-x 1 root root 1944 Aug 16 06:34 /etc/ssl/certs/2b1f6d308c2f9b.crt
-rwxr-xr-x 1 root root 3197 Aug 16 06:10 /etc/ssl/gd_bundle.crt
-rw-r--r-- 1 root root 1679 Oct  3  2013 /etc/ssl/private/private.key

/etc/apache2/sites-available/default-ssl:   #   SSLCertificateFile directive is needed.
/etc/apache2/sites-available/default-ssl:       SSLCertificateFile    /etc/ssl/certs/2b1f6d308c2f9b.crt
/etc/apache2/sites-available/default-ssl:       SSLCertificateKeyFile /etc/ssl/private/private.key
/etc/apache2/sites-available/default-ssl:   #   Point SSLCertificateChainFile at a file containing the
/etc/apache2/sites-available/default-ssl:   #   the referenced file can be the same as SSLCertificateFile
/etc/apache2/sites-available/default-ssl:       SSLCertificateChainFile /etc/ssl/gd_bundle.crt
/etc/apache2/sites-enabled/default-ssl: #   SSLCertificateFile directive is needed.
/etc/apache2/sites-enabled/default-ssl:     SSLCertificateFile    /etc/ssl/certs/2b1f6d308c2f9b.crt
/etc/apache2/sites-enabled/default-ssl:     SSLCertificateKeyFile /etc/ssl/private/private.key
/etc/apache2/sites-enabled/default-ssl: #   Point SSLCertificateChainFile at a file containing the
/etc/apache2/sites-enabled/default-ssl: #   the referenced file can be the same as SSLCertificateFile
/etc/apache2/sites-enabled/default-ssl:     SSLCertificateChainFile /etc/ssl/gd_bundle.crt

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about ssl-certificate