SSL not installed properly

Hello,

My domain is: http://ottawaspecial.events

I ran this command: sudo /usr/local/bin/certbot-auto certonly --apache

It produced this output:

` - Congratulations! Your certificate and chain have been saved at:`

/etc/letsencrypt/live/ottawaspecial.events/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/ottawaspecial.events/privkey.pem
Your cert will expire on 2020-03-06. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew all of your certificates, run
“certbot-auto renew”

My web server is (include version): apache

The operating system my web server runs on is (include version): debian 8

My hosting provider, if applicable, is: ovh

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): current certbot version

Here is my current vhosts file:

<IfModule mod_ssl.c>
<VirtualHost _default_:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/newsite
        ServerName ottawaspecial.events
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        SSLEngine on
        SSLCertificateFile      /etc/letsencrypt/live/ottawaspecial.events/fullchain.pem
        SSLCertificateKeyFile    /etc/letsencrypt/live/ottawaspecial.events/privkey.pem
        <FilesMatch "\.(cgi|shtml|phtml|php)$">
                        SSLOptions +StdEnvVars
        </FilesMatch>
        <Directory /usr/lib/cgi-bin>
                        SSLOptions +StdEnvVars
        </Directory>
        BrowserMatch "MSIE [2-6]" \
                        nokeepalive ssl-unclean-shutdown \
                        downgrade-1.0 force-response-1.0
        BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>

when i create the symlink the hosts file, Apache will not accept the configuration or start the web server.

if the symlink is removed, the server will start properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.