Serveur Apache et SSL

Bonjour,
Dans le cadre d’un projet universitaire, je dois réaliser un site en HTTPS. J’ai donc choisi d’utiliser LAMP (Apache, MySQL et PHP) et Let’s Encrypt. Tout fonctionne très bien en http, cependant malgré les nombreux tutos que j’ai pu tester avec Let’s Encrypt et Certbot, cela ne fonctionne toujours pas et je ne comprends pas. J’ai bien ouvert le port 443 sur ma box et mes règles iptables laissent le trafic libre sur ce même port. Voilà le fichier de config du site :
"
<VirtualHost *:443>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request’s Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerName geotracking.sytes.net
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html

    # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    # 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
                                                          1,1          Haut
    # 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 example the
    # following line enables the CGI configuration for this host only
    # after it has been globally disabled with "a2disconf".
    #Include conf-available/serve-cgi-bin.conf

SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/geotracking.sytes.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/geotracking.sytes.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf

"

Je précise que j’ai une Raspberry Pi 3 B+. Si vous avez des idées :slight_smile:

salut

regarde comment activer le SSL sur apache c’est simple :

a+