<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zhivko Draganov on Medium]]></title>
        <description><![CDATA[Stories by Zhivko Draganov on Medium]]></description>
        <link>https://medium.com/@zhivkodraganov?source=rss-4b5329df4735------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wgn8feEn8OvpPoonfalOfg.jpeg</url>
            <title>Stories by Zhivko Draganov on Medium</title>
            <link>https://medium.com/@zhivkodraganov?source=rss-4b5329df4735------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:05:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zhivkodraganov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Generating wildcard ACMEv2 certificates]]></title>
            <link>https://medium.com/despade/generating-wildcard-acmev2-certificates-5f3487f72486?source=rss-4b5329df4735------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f3487f72486</guid>
            <category><![CDATA[https]]></category>
            <category><![CDATA[lets-encrypt]]></category>
            <dc:creator><![CDATA[Zhivko Draganov]]></dc:creator>
            <pubDate>Thu, 15 Mar 2018 09:49:04 GMT</pubDate>
            <atom:updated>2018-03-16T07:27:53.718Z</atom:updated>
            <content:encoded><![CDATA[<p>The past 2017 year was great from the perspective of HTTPS encryption for the web.</p><p>Thanks to <a href="https://letsencrypt.org/">Let’s Encrypt</a> guys we have free, automated and open Certificate Authority, driven by community donations (you can support them <a href="https://letsencrypt.org/donate/">here</a>). Mozilla statistics show that, <strong>the Web went from 46% encrypted page load to 67% for only single year (21% growth).</strong></p><p>In the middle of 2017 they’ve <a href="https://letsencrypt.org/2017/07/06/wildcard-certificates-coming-jan-2018.html">announced that free wildcard ACMEv2 will be live in the January 2018</a>. And after 2 months delay on 13th of March they are here and waiting for us.</p><p>In this post, I will give you idea how you can easily generate one of those using tool called <a href="http://github.com/certbot/certbot">certbot</a> (written in Python). If you want to use stable release of certbot, please consider version &gt;= 0.22.<br>We will use Docker, because the support for OSx is not the best at the time I’m writing the post.</p><p>First let’s create a directory for the certificates and mount it into the docker container:</p><pre>$ cd /tmp<br>$ mkdir /tmp/yourdomain_cert<br>$ docker run --rm -it -v /tmp/yourdomain_cert/:/yourdomain_cert python /bin/bash</pre><p>Now in the running container we do the following:</p><pre>$ mkdir /tmp/workdir<br>$ cd /tmp/workdir<br>$ git clone <a href="https://github.com/certbot/certbot">https://github.com/certbot/certbot</a><br>$ cd certbot<br>$ ./certbot-auto certonly --manual -d *.yourdomain.com --agree-tos --manual-public-ip-logging-ok --preferred-challenges dns-01 --server <a href="https://acme-v02.api.letsencrypt.org/directory">https://acme-v02.api.letsencrypt.org/directory</a></pre><p>This command will require at some point to verify that TXT record is presented on your domain:</p><pre>--------------------------------------------------------------------<br>Please deploy a DNS TXT record under the name<br>_acme-challenge.yourdomain.com with the following value:</pre><pre>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</pre><pre>Before continuing, verify the record is deployed.<br>--------------------------------------------------------------------</pre><p>So before continue you must go to your domain provider and ensure the TXT record is presented. Click enter and voalá, the certificates are generated.<br>Now copy them into the mounted directory and your are ready to go:</p><pre>$ cp /etc/letsencrypt/live/yourdomain.com/* /yourdomain_cert<br>$ exit</pre><p>Now you can check the generated fullchain certificate using:</p><pre>$ cd /tmp/yourdomain_cert<br>$ openssl x509 -in fullchain.pem -noout -text</pre><p>The generated <em>fullchain.pem</em> is your certificate and <em>privatekey.pem</em> is your key.</p><p>Happy securing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f3487f72486" width="1" height="1" alt=""><hr><p><a href="https://medium.com/despade/generating-wildcard-acmev2-certificates-5f3487f72486">Generating wildcard ACMEv2 certificates</a> was originally published in <a href="https://medium.com/despade">Despade</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>