# Erreur Certificat SSL Certbot sur VPS

**URL:** https://community.ovhcloud.com/t/erreur-certificat-ssl-certbot-sur-vps/19939
**Category:** Domaines et Hébergements
**Created:** [Mai 14, 2021, 5:26 UTC](https://community.ovhcloud.com/t/erreur-certificat-ssl-certbot-sur-vps/19939 "2021-05-14T05:26:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ThomasM52](https://community.ovhcloud.com/letter_avatar/thomasm52/32/5_5575768a8748004e209b776fc1b2916d.png) [@ThomasM52](https://community.ovhcloud.com/u/ThomasM52)
#### Post date: [Mai 14, 2021, 5:26 UTC](https://community.ovhcloud.com/t/erreur-certificat-ssl-certbot-sur-vps/19939/1 "2021-05-14T05:26:22Z")

</div>

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](http://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](http://thomasmerat.com) and \*.thomasmerat.com  
\> Performing the following challenges:  
\> dns-01 challenge for [thomasmerat.com](http://thomasmerat.com)  
\> dns-01 challenge for [thomasmerat.com](http://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.

---

<div class="post-metadata">

### Author: ![HuguesF](https://community.ovhcloud.com/letter_avatar/huguesf/32/5_5575768a8748004e209b776fc1b2916d.png) [@HuguesF](https://community.ovhcloud.com/u/HuguesF)
#### Post date: [Juin 8, 2021, 6:49 UTC](https://community.ovhcloud.com/t/erreur-certificat-ssl-certbot-sur-vps/19939/2 "2021-06-08T06:49:51Z")

</div>

Bonjour Thomas,  
  
J'ai suivi ce tuto pour certbot :  
Installer : [Snapd](https://snapcraft.io/docs/installing-snap-on-debian)   
Installer [https://certbot.eff.org/lets-encrypt/debianbuster-apache](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 !
