certbot
https://www.keopx.net/
es
-
Instalar certificados SSL en Debian 9 con certbot (Let's Encrypt - Free SSL/TLS Certificates)
https://www.keopx.net/blog/instalar-certificados-ssl-en-debian-9-con-certbot-lets-encrypt-free-ssltls-certificates
<span>Instalar certificados SSL en Debian 9 con certbot (Let's Encrypt - Free SSL/TLS Certificates)</span>
<div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hace tiempo escribit un articulo sobre <a href="https://www.keopx.net/blog/instalar-certificados-de-lets-encrypt-free-ssltls-certificates-en-debian-ubuntu">Instalar certificados de Let's Encrypt - Free SSL/TLS Certificates en Debian / Ubuntu</a></p>
<p>Este post es una revisión de que escribí.</p>
<h1>Instalación</h1>
<pre>
<code class="language-bash"># apt-get install certbot</code></pre><h2>Configurar Apache</h2>
<pre>
<code class="language-bash"># nano /etc/apache2/sites-available/www.keopx.net-ssl.conf</code></pre><p>Y añadimos el <strong>-ssl</strong> por la existencia de un <strong><a href="https://github.com/certbot/certbot/issues/1042">bug</a></strong> en el <strong>certbot</strong>, que solo es capaz de distinguir un <strong>virtualhost</strong> por fichero <strong>*.conf</strong></p>
<pre>
<code class="language-bash"><VirtualHost *:443>
ServerAdmin keopx@keopx.net
ServerName www.keopx.net
DocumentRoot /var/www/keopx.net/web
<Directory /var/www/keopx.net/web/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
SSLCertificateFile /etc/letsencrypt/live/www.keopx.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.keopx.net/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</code></pre><h2>Creamos el SSL</h2>
<pre>
<code class="language-bash">certbot --apache -d www.keopx.net</code></pre><h2>Actualizamos los certificados</h2>
<pre>
<code class="language-bash">certbot renew --dry-run</code></pre><p>Referencias</p>
<ul><li><a href="https://certbot.eff.org/docs/using.html#apache">https://certbot.eff.org/docs/using.html#apache</a></li>
<li><a href="https://certbot.eff.org/docs/using.html?highlight=renew#renewing-certificates">https://certbot.eff.org/docs/using.html?highlight=renew#renewing-certif…</a></li>
<li>Bug: <a href="https://github.com/certbot/certbot/issues/1042">https://github.com/certbot/certbot/issues/1042</a></li>
</ul></div>
<span><span>keopx</span></span>
<span><time datetime="2017-09-02T12:34:20+02:00" title="Sábado, Septiembre 2, 2017 - 12:34">Sáb, 02/09/2017 - 12:34</time>
</span>
<div class="field field--name-field-tax-cat field--type-entity-reference field--label-above">
<div class="field__label">Categoria</div>
<div class="field__items">
<div class="field__item"><a href="/categoria/letsencrypt" hreflang="es">letsencrypt</a></div>
<div class="field__item"><a href="/categoria/seguridad" hreflang="es">Seguridad</a></div>
<div class="field__item"><a href="/categoria/apache2" hreflang="es">Apache2</a></div>
<div class="field__item"><a href="/categoria/debian-9" hreflang="es">Debian 9</a></div>
</div>
</div>
<div class="field field--name-field-tax-tag field--type-entity-reference field--label-above">
<div class="field__label">Tag</div>
<div class="field__items">
<div class="field__item"><a href="/tag/seguridad" hreflang="es">seguridad</a></div>
<div class="field__item"><a href="/tag/apache" hreflang="es">apache</a></div>
<div class="field__item"><a href="/tag/debian-9" hreflang="es">Debian 9</a></div>
<div class="field__item"><a href="/tag/sistemas" hreflang="es">Sistemas</a></div>
<div class="field__item"><a href="/tag/certbot" hreflang="es">certbot</a></div>
</div>
</div>
<section data-drupal-selector="comments" class="comments">
<h2 class="comments__title">Comentarios</h2>
<div class="add-comment">
<div class="add-comment__form">
<drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&1=292&2=field_comments&3=comment" token="e2q1tlu9gNjnsY9-OEPJORmF6R9X08tqdM22YQUr6Hk"></drupal-render-placeholder>
</div>
</div>
</section>
Sat, 02 Sep 2017 10:34:20 +0000
keopx
292 at https://www.keopx.net