Obteniendo un nuevo certificado SSL HTTPS en el servidor Linux Ubuntu 22.04
- Instalar certbot
sudo apt update && sudo apt install -y socat
2. Switch back to Let’s Encrypt as the default CA
~/.acme.sh/acme.sh –set-default-ca –server letsencrypt
- Solicitar manualmente certificados comodín
~/.acme.sh/acme.sh –issue -d “*.zxcn.cc” -d “zxcn.cc” –dns –yes-I-know-dns-manual-mode-enough-go-ahead-please
Puede tardar de 3 a 5 minutos.
- Para acceder al backend de DNS, visite https://www.west.cn/Manager/domainnew/rsall.asp?domainid=44316625
Agregar un nuevo registro txt.
- Verificar si DNS está funcionando (espere 1-3 minutos):
dig -t txt _acme-challenge.zxcn.cc +short
- Continuar solicitando el certificado
# Re-run (with –renew parameter)
~/.acme.sh/acme.sh –renew \
-d “*.zxcn.cc” -d “zxcn.cc” \
–dns –yes-I-know-dns-manual-mode-enough-go-ahead-please
Certificado exitoso en: /root/.acme.sh/zxcn.cc/fullchain.cer
Clave guardada en: /root/.acme.sh/zxcn.cc/zxcn.cc.key
Upload the certificate in the “Hosting Certificate” section, and copy the contents of the above two files.
7.https://www.west.cn/paas/ssl/manage/thirdlist
Verificar la efectividad en línea:
https://www.ssllabs.com/ssltest/analyze.html?d=zxcn.cclatest
Renovación automática
~/.acme.sh/acme.sh –renew -d “*.zxcn.cc” –force
Whatsapp+8613603031172