Certificats SSL – Erreur Certificat SSL Certbot sur VPS
... / Erreur Certificat SSL Cer...
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

Erreur Certificat SSL Certbot sur VPS

Par
ThomasM52
Créé le 2021-05-14 05:26:22 (edited on 2024-09-04 12:09:38) dans Certificats SSL

Bonjour,
J'ai essayer d'installer un certificat SSL via certbot sur mon vps mais je rencontre une erreur :
> 2021-05-14 05:15:19,038:ERROR:certbot._internal.log:An unexpected error occurred:
> 2021-05-14 05:15:19,038:ERROR:certbot._internal.log:TypeError: create_record() got an unexpected keyword argument 'type'

> sudo certbot certonly --dns-ovh --dns-ovh-credentials /root/.ovhapi -d thomasmerat.com -d *.thomasmerat.com
> Saving debug log to /var/log/letsencrypt/letsencrypt.log
> Plugins selected: Authenticator dns-ovh, Installer None
> Requesting a certificate for thomasmerat.com and *.thomasmerat.com
> Performing the following challenges:
> dns-01 challenge for thomasmerat.com
> dns-01 challenge for thomasmerat.com
> Cleaning up challenges
> Encountered exception during recovery: TypeError: delete_record() got an unexpected keyword argument 'type'
> An unexpected error occurred:
> TypeError: create_record() got an unexpected keyword argument 'type'

Est-ce que quelqu'un aurait une idée de pourquoi cette erreur apparait ?
Merci.


1 réponse ( Latest reply on 2021-06-08 06:49:51 Par
HuguesF
)

Bonjour Thomas,

J'ai suivi ce tuto pour certbot :
Installer : Snapd
Installer https://certbot.eff.org/lets-encrypt/debianbuster-apache certbot

Une fois ton apache bien configuré, il ne doit pas y avoir de problèmes.

(étonnant que personne n'ai répondu depuis 25 jours !)

Salut !