{"id":119,"date":"2018-01-03T20:30:47","date_gmt":"2018-01-03T20:30:47","guid":{"rendered":"http:\/\/www.hestben.se\/HestbenTechnical\/?p=119"},"modified":"2018-01-03T20:36:05","modified_gmt":"2018-01-03T20:36:05","slug":"ssl-certificates-with-lets-encrypt","status":"publish","type":"post","link":"https:\/\/www.hestben.se\/HestbenTechnical\/?p=119","title":{"rendered":"SSL-Certificates with Let&#8217;s Encrypt"},"content":{"rendered":"<p>I followed the guide from <a href=\"https:\/\/github.com\/diafygi\/letsencrypt-nosudo\">https:\/\/github.com\/diafygi\/letsencrypt-nosudo<\/a><br \/>\nso that I don&#8217;t have to trust the letsencrypt script that requires root access.<br \/>\nOne caveat is that you need to read through the script from diafygi, or trust it \ud83d\ude42<\/p>\n<p>Then, I transferred the signed certificate, and the domain private key to the server, and configured my site like this:<\/p>\n<p><code><br \/>\n<VirtualHost *:443><br \/>\n        ServerName www.hestben.se<br \/>\n        ServerAlias hestben.se<br \/>\n        ServerAdmin address@to.webmaster<br \/>\n        DocumentRoot \/var\/www\/website\/<br \/>\n        SSLEngine on<br \/>\n        SSLCertificateFile \"\/path\/to\/signed.crt\"<br \/>\n        SSLCertificateKeyFile \"\/path\/to\/domain.key\"<br \/>\n<\/VirtualHost><br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I followed the guide from https:\/\/github.com\/diafygi\/letsencrypt-nosudo so that I don&#8217;t have to trust the letsencrypt script that requires root access. One caveat is that you need to read through the script from diafygi, or trust it \ud83d\ude42 Then, I transferred the signed certificate, and the domain private key to the server, and configured my site &hellip; <a href=\"https:\/\/www.hestben.se\/HestbenTechnical\/?p=119\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SSL-Certificates with Let&#8217;s Encrypt&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/posts\/119"}],"collection":[{"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=119"}],"version-history":[{"count":6,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=\/wp\/v2\/posts\/119\/revisions\/123"}],"wp:attachment":[{"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hestben.se\/HestbenTechnical\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}