SSL Cert not working, browser Unable To Connect.

January 11, 2015 1.9k views

Hi I have installed an SSL cert from Comodo using both guides from their side and DO's side. However, i am unable to access the HTTPS variant of my site.

<IfModule mod_ssl.c>
        <VirtualHost _default_:443>

                DocumentRoot /var/www/html

                # Available loglevels: trace8, ..., trace1, debug, info, notice$
                # error, crit, alert, emerg.
                # It is also possible to configure the loglevel for particular
                # modules, e.g.
                #LogLevel info ssl:warn

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                # For most configuration files from conf-available/, which are
                # enabled or disabled at a global level, it is possible to
                # include a line for only one particular virtual host. For exam$
                # following line enables the CGI configuration for this host on$
                # after it has been globally disabled with "a2disconf".
                #Include conf-available/serve-cgi-bin.conf

                #   SSL Engine Switch:
                #   Enable/Disable SSL for this virtual host.
                SSLEngine on
                SSLCertificateKeyFile /etc/apache2/ssl/atk-me.key
                SSLCertificateFile /etc/apache2/ssl/atk-me.crt
                SSLCertificateChainFile /etc/apache2/ssl/

Above is my ssl configuration.

Any help will be greatly appreciated.

If it helps, my certificate is under Comodo and is reissued.

1 comment
  • Init: Multiple RSA server certificates not allowed
    Fatal error initialising mod_ssl, exiting.

    I'm getting this two errors from the log.

1 Answer

Fixed it by commenting out the :

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

Strange that no one seemed to point this out.

Have another answer? Share your knowledge.