User Tools

Site Tools


informatica:servidor_internet_2009_http_to_https

This is an old revision of the document!


Servidor web/dades

Actualització d'HTTP a HTTPS amb certificats LetsEncrypt - Setembre de 2022

Cal convertir el servidor HTTP en HTTPS. He descartat les opcions de fer-ho amb un certificat auto-signat (self-signed) o amb un certificat aconseguit a través del Servei d'Informàtica perquè el primer no és acceptat per defecte pels navegadors i perquè el segon mecanisme implica força burocràcia i no sembla que sigui automatitzable.

Això ens deixa l'opció de fer servir certificats emesos per Let’s Encrypt, una Autoritat de Certificació sense ànim de lucre que actualment proporciona certificats TLS a 260 milions de llocs web.

Aquesta pàgina conté la descripció detallada del procés d'obtenció dels certificats i la configuració del servidor HTTPS amb Apache a Debian 10.12 “buster”.

Instal·lació del paquet certbot

El paquet certbot permet configurar automàticament la configuració d'HTTPS amb Let's Encrypt,

automatically configure HTTPS using Let's Encrypt

The objective of Certbot, Let's Encrypt, and the ACME (Automated Certificate Management Environment) protocol is to make it possible to set up an HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention. This is accomplished by running a certificate management agent on the web server.

This agent is used to:

  1. Automatically prove to the Let's Encrypt CA that you control the website
  2. Obtain a browser-trusted certificate and set it up on your web server
  3. Keep track of when your certificate is going to expire, and renew it
  4. Help you revoke the certificate if that ever becomes necessary.

This package contains the main application, including the standalone and the manual authenticators.

https://packages.debian.org/buster/certbot

La versió disponible per Debian 10 és la 0.31.0-1, mentre que la versió actual és la 1.29. Per aquest motiu, en comptes del paquet de la distribució, faig servir el paquet disponible a la web del programa certbot.

xxxx

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Referències

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
informatica/servidor_internet_2009_http_to_https.1664280167.txt.gz · Last modified: 2022/09/27 14:02 by miquel