Intermediato 12 minutos

Obtenga un certificado SSL con Certbot

Activar HTTPS de forma gratuita en Nginx con Encriptar y autorenovar.

#SIL #CertbotHTTPS

¿Lista para comenzar su servicio? Compruebe las ofertas y el pedido en línea.

Ver ofertas y orden

Objetivo

Obtenga un certificado TLS gratuito Encriptemos y sirvamos a su sitio en HTTPS con Nginx en su VPS Anthony IT Solutions.

Prerrequisito

  • Nginx instalado con un vhost para su dominio (ver deploy Nginx)
  • DNS Una grabación apuntando a la IP del VPS
  • Puertos abiertos 80 y 443 (UFW)
Certbot y Nginx
Certbot modifica automáticamente la configuración Nginx

Instalación Certbot

apt install -y certbot python3-certbot-nginx

Obtenga el certificado

certbot --nginx -d exemple.fr -d www.exemple.fr
  1. Correo electrónico

    Introduzca una dirección válida para las alertas de caducidad.

  2. HTTPS redirección

    Acepta el HTTP → HTTPS redireccion automática propuesta por Certbot.

  3. Prueba de renovación

    certbot renew --dry-runEl temporizador debe tener éxito.

DNS Si Certbot falla, compruebe que el dominio apunta bien a su VPS y el puerto 80 es accesible desde Internet.

Guías relacionadas