{"id":1789,"date":"2015-12-28T21:47:15","date_gmt":"2015-12-28T18:47:15","guid":{"rendered":"http:\/\/joseph.zikusooka.com\/?p=1789"},"modified":"2015-12-28T21:47:15","modified_gmt":"2015-12-28T18:47:15","slug":"install-letsencrypt-certificate-fedora-linux","status":"publish","type":"post","link":"https:\/\/joseph.zikusooka.com\/?p=1789","title":{"rendered":"How to install LetsEncrypt certificate on Fedora Linux"},"content":{"rendered":"<p>Here are some quick notes on how I installed letsencrypt certificates on a couple of my old Fedora servers.  This is meant to get you started fairly quickly especially if you know how to install web servers on Linux systems.  While there is a client <a href=\"https:\/\/fedoramagazine.org\/letsencrypt-now-available-fedora\/\" target=\"_blank\">already available<\/a> for Fedora 23, I found that on older versions, the apache plugin for letsencrypt does not work. For instance, when you run the command:<\/p>\n<p><code>.\/letsencrypt-auto --apache -d mydomainname.com<\/code>, you get an error like:<\/p>\n<p><em>The apache plugin is not working; there may be problems with your existing configuration.<br \/>\nThe error was: NoInstallationError()<br \/>\n<\/em><\/p>\n<p>For earlier versions, you need to install the manual way i.e. generate a certificate.  While that&#8217;s a few steps from the easy and automated promise of lets encrypt, you still can&#8217;t beat the price tag of Free!<\/p>\n<p>Pull the sources for letsencrypt:<\/p>\n<p><code>git clone https:\/\/github.com\/letsencrypt\/letsencrypt<br \/>\n<\/code><\/p>\n<p>Change to directory:<\/p>\n<p><code>cd letsencrypt<\/code><\/p>\n<p>Run the following command, and ofcourse replace the string mydomain.com with your domain:<\/p>\n<p><code>.\/letsencrypt-auto certonly --standalone --agree-tos --email joe@mydomain.com -d mydomain.com<\/code><\/p>\n<p>NOTE: For multiple domains, just add &#8216;-d mydomain.net&#8217;<br \/>\nGet help by running:<\/p>\n<p><code>.\/letsencrypt-auto --help<\/code><\/p>\n<p>If all goes well, you should see a congratulatory message, with the location of your free certificate chain!  Use this in apache or nginx configuration<\/p>\n<p>Keep in mind that the certificates are only vailid for three months, and you will need to do this again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some quick notes on how I installed letsencrypt certificates on a couple of my old Fedora servers. This is meant to get you started fairly quickly especially if you know how to install web servers on Linux systems. While there is a client already available for Fedora 23, I found that on older [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1789","post","type-post","status-publish","format-standard","hentry","category-tips"],"_links":{"self":[{"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/posts\/1789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1789"}],"version-history":[{"count":2,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/posts\/1789\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=\/wp\/v2\/posts\/1789\/revisions\/1791"}],"wp:attachment":[{"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joseph.zikusooka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}