I tried to create a SSL certificate following this tutorial : https://www.digitalocean.com/community/ ... r-centos-7
My domain is http://rucheconnectee.mc.
I followed the instructions and, after having accepted the SSL certificate from my web browser :
+ the default Apache page appeared telling Apache was working, but my webpage doesn't display ;
+ at the left of the URL bar, a "non secured" warning appears ;
+ I can access to my web site using the server path (my website is in /var/www/html/rucheconnectee.mc) : http://rucheconnectee.mc/rucheconnectee.mc.
My virtualhost :
Code: Select all
<VirtualHost *:80>
ServerName rucheconnectee.mc
ServerAlias rucheconnectee.mc
DocumentRoot /var/www/html/rucheconnectee.mc
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
</VirtualHost>
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM
# Requires Apache 2.4.36 & OpenSSL 1.1.1
SSLProtocol -all +TLSv1.2
# SSLOpenSSLConfCmd Curves X25519:secp521r1:secp384r1:prime256v1
# Older versions
# SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLHonorCipherOrder On
# Disable preloading HSTS for now. You can use the commented out header line that includes
# the "preload" directive if you understand the implications.
#Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains"
# Requires Apache >= 2.4
SSLCompression off
SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
# Requires Apache >= 2.4.11
# SSLSessionTickets Off
Thanks!