informatica:letsencrypt
                Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:letsencrypt [2016/10/19 07:44] – created javi | informatica:letsencrypt [2022/05/06 08:41] (current) – jose | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Instalacion ===== | ===== Instalacion ===== | ||
| - | Documentar como obtener scripts etc.. | + | Si se tiene acceso SSH se recomienda certboot: | 
| + | |||
| + | https:// | ||
| + | |||
| + | Instalamos certbot para la generación automática: | ||
| + | apt-get install certbot python-certbot-nginx | ||
| + | |||
| + | |||
| + | Elegimos el certificado y ya lo hace todo | ||
| + | # certbot certonly --nginx | ||
| + | |||
| + | < | ||
| + | Saving debug log to / | ||
| + | Plugins selected: Authenticator nginx, Installer nginx | ||
| + | |||
| + | Which names would you like to activate HTTPS for? | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | 1: txt.iwanttobefreak.com | ||
| + | 2: api.legido.com | ||
| + | 3: comic.legido.com | ||
| + | 4: equipop.legido.com | ||
| + | 5: mldonkeymadrid.legido.com | ||
| + | 6: omc.legido.com | ||
| + | 7: mercadosanisidro.es | ||
| + | 8: www.soldaditospresovieticos.com | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | Select the appropriate numbers separated by commas and/or spaces, or leave input | ||
| + | blank to select all options shown (Enter ' | ||
| + | </ | ||
| ===== Renovacion manual ===== | ===== Renovacion manual ===== | ||
| Line 16: | Line 45: | ||
| https:// | https:// | ||
| + | |||
| + | ===== Comprobación ===== | ||
| + | https:// | ||
| + | ====== Instalación en Docker ====== | ||
| + | Entramos en el docker con nginx: | ||
| + | docker exec -ti nginx bash | ||
| + | Instalamos bot lets encrypt: | ||
| + | apt-get install certbot python-certbot-nginx | ||
| + | Configuramos lets encrypt: | ||
| + | certbot --nginx | ||
| + |  | ||
| + | Nos saldrá una lista con todos los dominios, seleccionamos el nuestro. Nos dirá si lo queremos redirigir a https, mejor que si (opción 2) | ||
| + | 1: No redirect - Make no further changes to the webserver configuration. | ||
| + |  | ||
| + | 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for | ||
| + | new sites, or if you're confident your site works on HTTPS. You can undo this | ||
| + | change by editing your web server' | ||
| + |  | ||
informatica/letsencrypt.1476863053.txt.gz · Last modified:  by javi
                
                