My domain is: www.sysonline.fr
My web server is (include version): apache
The operating system my web server runs on is (include version): debian 9
My hosting provider, if applicable, is: scaleway
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): no
I ran this commands to issue certificates from a script :
apt-get install python-certbot-apache -t stretch-backports service apache2 stop certbot certonly --standalone --preferred-challenges http -d example.com service apache2 start
then i configured the virtualhost this way
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName www.sysonline.fr
ServerAlias sysonline.fr
ServerAdmin webmaster@sysonline.fr
DocumentRoot "/home/usr/sysonline/web"
ErrorLog /home/usr/sysonline/error.log
CustomLog /home/usr/sysonline/access.log combined
<Directory /home/usr/sysonline/web>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/sysonline.fr-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/sysonline.fr-0001/privkey.pem
/etc/letsencrypt/live/www.sysonline.fr-0001/fullchain.pem
Here are the problems.
When issuing certificates this way, ssl labs tells me that i have a grade B certificate.
When issuing with certbot automating install, there is auto-redirect from domain.com to www.domain.com,
and auto redirect from http to https
and i have grade A certificate.
So what is the difference?
Right now the domain is unavailable cause i am reinstalling the server and will retry to install manually but properly.
PS : the end tags / Directory> etc didn't past above