{"id":670,"date":"2019-12-29T22:02:56","date_gmt":"2019-12-29T22:02:56","guid":{"rendered":"http:\/\/blog.davcloud.top\/?p=670"},"modified":"2020-06-23T23:26:58","modified_gmt":"2020-06-23T15:26:58","slug":"renew-the-wildcard-ssl-certificate-of-lets-encrypt","status":"publish","type":"post","link":"https:\/\/blog.davcloud.top\/?p=670","title":{"rendered":"Apply the wildcard SSL certificate of Let&#8217;s Encrypt"},"content":{"rendered":"\n<h2>Abstract<\/h2>\n\n\n\n<p>This article aims to introduce how to apply the wildcard SSL certificate provided by Let&#8217;s Encrypt.<\/p>\n\n\n\n<h2>Step 1. Download the certbot client<\/h2>\n\n\n\n<p>In the latest version of Let&#8217;s Encrypt, certbot client is used to deploy the SSL certificate. Download and give execute permission to the client file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Download certbot client\n~$ wget https:\/\/dl.eff.org\/certbot-auto\n\n# Set execute permission\n~$ chmod a+x certbot-auto<\/code><\/pre>\n\n\n\n<h2>Step 2. Run the client<\/h2>\n\n\n\n<p>Assume that the Let&#8217;s Encrypt client certbot-auto is installed in the home directory(~\/), run the client(Please use the correct domain instead of *.example.com):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~$ .\/certbot-auto --server https:\/\/acme-v02.api.letsencrypt.org\/directory -d \"*.example.com\"  --manual --preferred-challenges dns-01 certonly<\/code><\/pre>\n\n\n\n<h2>Step 3. Add TXT record of the domain<\/h2>\n\n\n\n<p>Follow the guide and add TXT record of the domain in the provider administration background, the details will be given in the terminal.<\/p>\n\n\n\n<h2>Step 4. Reload and restart the proxy service<\/h2>\n\n\n\n<p>Restart and reload the proxy service apache or nginx on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract This article aims to introduce how to apply the wildcard SSL certificate provided by Let&#8217;s Encrypt. Step 1. Download the certbot client In the latest version of Let&#8217;s Encrypt, certbot client is used to deploy the SSL certificate. Download and give execute permission to the client file: Step 2. Run the client Assume that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[243,107,35],"_links":{"self":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/670"}],"collection":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=670"}],"version-history":[{"count":4,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/670\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/670\/revisions\/1469"}],"wp:attachment":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}