33800 Docs

← Retour

Proposition : Automatisation certificat wildcard SSL

Date : 25/12/2025 Status : IMPLEMENTEE Urgence : CRITIQUE (expire dans 5 jours - 30/12/2025) Certificat : *.33800.nowhere84.com Machine : nginx.local (192.168.1.104)


Actions proposées

1. Supprimer le certificat nova-automobile.fr

sudo certbot delete --cert-name nova-automobile.fr

2. Installer acme.sh sur nginx.local

curl https://get.acme.sh | sh -s email=contact@nowhere84.com
source ~/.bashrc

3. Configurer API cPanel o2switch

Variables requises (depuis secrets/prod.env) :

4. Émettre le certificat avec acme.sh

acme.sh --issue --dns dns_cpanel \
  -d 33800.nowhere84.com \
  -d "*.33800.nowhere84.com"

5. Installer le certificat pour Nginx

acme.sh --install-cert \
  -d 33800.nowhere84.com \
  -d "*.33800.nowhere84.com" \
  --key-file /etc/letsencrypt/live/33800.nowhere84.com/privkey.pem \
  --fullchain-file /etc/letsencrypt/live/33800.nowhere84.com/fullchain.pem \
  --reloadcmd "systemctl reload nginx"

6. Désactiver certbot pour ce certificat

sudo rm /etc/letsencrypt/renewal/33800.nowhere84.com.conf

Résultat attendu


Informations requises

J'ai besoin des credentials cPanel o2switch pour continuer. Sont-ils dans secrets/prod.env ?