{"id":2588,"date":"2018-10-02T09:15:08","date_gmt":"2018-10-02T03:45:08","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=2588"},"modified":"2018-10-02T09:17:08","modified_gmt":"2018-10-02T03:47:08","slug":"how-to-install-lets-encrypt-ssl","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-lets-encrypt-ssl\/","title":{"rendered":"How to Install Let\u2019s Encrypt SSL"},"content":{"rendered":"<p><strong>How to Install Let\u2019s Encrypt SSL<\/strong><\/p>\n<p><strong>Date posted: 28-sep-2018<\/strong><\/p>\n<p>Please follow\u00a0 this steps to install\u00a0the SSL certificate.<\/p>\n<p><strong>Step 1<\/strong>: Install CertBot<\/p>\n<p>Type the given commands<br \/>\n<code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo apt-get install software-properties-common python-software-properties<\/code><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo add-apt-repository ppa:certbot\/certbot<\/code><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo apt-get update<\/code><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo apt-get install python-certbot-apache<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 2:<\/strong> Install Let\u2019s Encrypt SSL<\/p>\n<p>Install Let\u2019s Encrypt SSL certificate on your domain (do not forget to replace \u2018yourdomain.com\u2019 with your actual domain):<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">sudo certbot --apache -d yourdomain.com<\/code><\/p>\n<p><strong>Step 3:<\/strong> Renew the SSL certificate with a cron job.<br \/>\nCreate a cron job so the SSL certificate is renewed automatically. Run the following command<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">crontab -e<\/code><\/p>\n<p>and add the following line<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">0 0 1 * * \/usr\/bin\/letsencrypt renew &gt;&gt; \/var\/log\/letsencrypt-renew.log<\/pre>\n<p>Save and close that file and restart cron service for the changes to take effect:<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">service cron restart<\/code><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install Let\u2019s Encrypt SSL Date posted: 28-sep-2018 Please follow\u00a0 this steps to install\u00a0the SSL certificate. Step 1: Install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1024],"tags":[425,277,206],"class_list":["post-2588","post","type-post","status-publish","format-standard","hentry","category-security","tag-lets-encrpyt-ssl","tag-ssl","tag-ssl-certificate-installation","psol-cat-security"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-FK","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2588"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2588\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}