SSL Gateway et apache
... / SSL Gateway et apache
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

SSL Gateway et apache

Par
Jean-ChristopheR3
Créé le 2017-02-10 07:45:20 (edited on 2024-09-04 12:05:35) dans Certificat SSL Gateway

Bonjour,

Pour que ma connexion SSL fonctionne j'ai été obligé de faire quelquechose que je considère être une bidouille :
En plus de l'intégration de "SSL Gateway" j'ai dû déclaré dans /etc/apache2/sites-enabled/000-default.conf les lignes suivantes :

SSLCertificateFile /etc/letsencrypt/live/xxx/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/xxx/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/xxx/chain

Ces lignes pointent vers un certificat que j'ai généré (donc en dehors de "ssl gateway") et qui est expiré depuis le 28 juillet !.
Mais sans ces lignes mon site ne fonctionne plus (ce qui me parait normal).

Est ce la bonne façon de faire ? Quelles sont les bonnes pratiques ?

Cordialement.

JC