Obteniendo un nuevo certificado SSL HTTPS en el servidor Linux Ubuntu 22.04

Obteniendo un nuevo certificado SSL HTTPS en el servidor Linux Ubuntu 22.04

  1. 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

  1. 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.

  1. Para acceder al backend de DNS, visite https://www.west.cn/Manager/domainnew/rsall.asp?domainid=44316625

Agregar un nuevo registro txt.

  1. Verificar si DNS está funcionando (espere 1-3 minutos):

dig -t txt _acme-challenge.zxcn.cc +short

  1. 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

Soluciones médicas inalámbricas remotas
« Publicación anterior 10/16/2025 15:53
Desbloqueando el Potencial de los Routers Industriales 4G/5G en IoT y Redes
Siguiente publicación » 10/16/2025 15:53