« Ovh letsencrypt » : différence entre les versions
| Ligne 58 : | Ligne 58 : | ||
Remplacez les valeurs par vos clés API OVH. | Remplacez les valeurs par vos clés API OVH. | ||
Protégez le fichier : | Protégez le fichier : | ||
<syntaxhighlight lang="bash" line> | <syntaxhighlight lang="bash" line> | ||
sudo chmod 600 /etc/letsencrypt/.secrets/ovh.ini | sudo chmod 600 /etc/letsencrypt/.secrets/ovh.ini | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===== Gestion des token des applications ===== | |||
: Dans la console de l'api | |||
https://eu.api.ovh.com/console/?section=%2Fdomain&branch=v1#auth | |||
<syntaxhighlight lang="yaml" line> | |||
GET https://eu.api.ovh.com/v1/me/api/application/ | |||
GET https://eu.api.ovh.com/v1/me/api/application/{id} | |||
DELETE https://eu.api.ovh.com/v1/me/api/application/{id} | |||
</syntaxhighlight> | |||
==== Étape 3 : Obtenir un certificat wildcard ==== | ==== Étape 3 : Obtenir un certificat wildcard ==== | ||
Utilisez Certbot avec le plugin DNS OVH pour obtenir un certificat wildcard : | Utilisez Certbot avec le plugin DNS OVH pour obtenir un certificat wildcard : | ||