{"id":559,"date":"2018-09-13T11:02:34","date_gmt":"2018-09-13T09:02:34","guid":{"rendered":"http:\/\/btrnaidu.com\/?p=559"},"modified":"2018-09-13T11:02:34","modified_gmt":"2018-09-13T09:02:34","slug":"wildcard-ssl-cert-using-letsencrypt","status":"publish","type":"post","link":"https:\/\/btrnaidu.com\/index.php\/wildcard-ssl-cert-using-letsencrypt\/","title":{"rendered":"Wildcard SSL cert using LetsEncrypt"},"content":{"rendered":"<p>LetsEncrypt now supports \/ issues wildcard SSL certificates.\u00a0 \u00a0If you have been a letsencrypt user then you will very much welcome this feature.\u00a0 So lets start with how to do this.<\/p>\n<p><strong>Assumptions<\/strong>:<\/p>\n<p><!--more--><\/p>\n<p style=\"padding-left: 30px;\">It is assumed that the naked domain (non-www domain for example, btrnaidu.com) is been forwarded to valid subdomain (www for example, www.btrnaidu.com)<\/p>\n<p><strong>Wildcard SSL Cert for btrnaidu.com domain<\/strong>:<\/p>\n<blockquote><p># .\/certbot-auto &#8211;server https:\/\/acme-v02.api.letsencrypt.org\/directory -d *.btrnaidu.com &#8211;manual &#8211;preferred-challenges dns-01 certonly<\/p><\/blockquote>\n<p><strong>Wildcard SSL Cert for btrnaidu.com and amstar.in domain<\/strong>:<\/p>\n<blockquote><p># .\/certbot-auto &#8211;server https:\/\/acme-v02.api.letsencrypt.org\/directory -d *.btrnaidu.com -d *.amstar.in &#8211;manual &#8211;preferred-challenges dns-01 certonly<\/p><\/blockquote>\n<p>Follow the output by command and verify the domain ownership by adding TXT records.\u00a0 Once done, the certs will be produced.<\/p>\n<p>Copy the certs to your web-server and viola..\u00a0 You have a wild card cert for your domain now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LetsEncrypt now supports \/ issues wildcard SSL certificates.\u00a0 \u00a0If you have been a letsencrypt user then you will very much welcome this feature.\u00a0 So lets start with how to do this. Assumptions:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[140,125,150],"tags":[165,187,141,185],"class_list":["post-559","post","type-post","status-publish","format-standard","hentry","category-letsencrypt","category-linux","category-ubuntu","tag-ssl","tag-cert","tag-letsencrypt","tag-wildcard"],"_links":{"self":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":2,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/559\/revisions"}],"predecessor-version":[{"id":570,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/posts\/559\/revisions\/570"}],"wp:attachment":[{"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/categories?post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/btrnaidu.com\/index.php\/wp-json\/wp\/v2\/tags?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}