Site not reachable after successful certificate installation

Hi all, first the informations:

My domain is:

I ran this command: sudo /path/certbot-auto --apache

It produced this output: everything went ok, selected the nameserver from the list (there was only 1) and I got the congratuilions output that said everything went ok. I choosed not to have the redirect (luckyly, because the https doesn’t work)

My web server is (include version): Apache 2.2.15

The operating system my web server runs on is (include version): CentOS Linux 6.9

My hosting provider, if applicable, is: Aruba

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

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

The problem: is not reachable, while http is. What can I do?

This is not the recommended way to run certbot-auto
cd /path/
sudo ./certbot-auto --apache

Tried right now, nothing changes

./certbot-auto certificates

Found the following certs:
Certificate Name:
Expiry Date: 2018-08-05 23:24:01+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/
Private Key Path: /etc/letsencrypt/live/

You have a valid cert.
Now you just need to use it.

unfortunately, I'm not familiar with Webmin.

so the command above install the certificate, configure apache…then what should I do to use it?

That is probably done in webmin
And that is where I would look first.

But you could also try looking for where it may be used...
grep -ri servername /etc/apache2 | grep -i

I tried thorugh Webmin and webmin shows me the certificate as installed…but still the site is not reachable with https, nor the webmin panel.

Output or command yuo said: (with
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateKeyFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateChainFile /etc/letsencrypt/live/

And this with simply
/etc/httpd/conf/httpd-le-ssl.conf:DocumentRoot “/home/”
/etc/httpd/conf/httpd-le-ssl.conf:<Directory “/home/”>
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateKeyFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateChainFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd.conf:DocumentRoot “/home/”
/etc/httpd/conf/httpd.conf:<Directory “/home/”>

grep -Eri 'serveralias|servername' /etc/apache2 | grep -i

and then show ocntents of:

/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateKeyFile /etc/letsencrypt/live/
/etc/httpd/conf/httpd-le-ssl.conf:SSLCertificateChainFile /etc/letsencrypt/live/

you need to add the serveralias for to both:
then restart apache

How can I do it?

I also noticed a problem with apache regarding this stuff:
“httpd: Syntax error on line 1022 of /etc/httpd/conf/httpd.conf: Syntax error on line 9 of /etc/httpd/conf/httpd-le-ssl.conf: Could not open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory”

Line 1022 is: Include /etc/httpd/conf/httpd-le-ssl.conf
Line 9 of other file is: Include /etc/letsencrypt/options-ssl-apache.conf
maybe I have to change something here?

See if the file still exists:
find / -name options-ssl-apache.conf

If not we can get a copy of it for you.
It should be a default package file.

I get no output from that command

You can create it,
This is what mines looks like - but I may have modified it a bit
more options-ssl-nginx.conf

# This file contains important security parameters. If you modify this file
# manually, Certbot will be unable to automatically provide future security
# updates. Instead, Certbot will print and log an error message with a path to
# the up-to-date file that you will need to refer to when manually updating
# this file.

ssl_session_cache shared:le_nginx_SSL:1m;
ssl_session_timeout 1440m;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;


I have to create a file and upload it to the correct path?

However I get no output from that command (find)

ls -l /etc/letsencrypt/options-ssl-apache.conf
shows nothing?

Ok, I deleted the letsencrypt folder, now I have reuploaded it, so the missing options file is resolver.

Now let's go back to this:

How should I do it?

do you know how to use nano, vi, vim ?
any file editor?