{"id":4095,"date":"2017-06-14T18:25:25","date_gmt":"2017-06-14T18:25:25","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/06\/14\/install-lets-encrypt-ssl\/"},"modified":"2022-04-21T10:24:04","modified_gmt":"2022-04-21T14:24:04","slug":"install-lets-encrypt-ssl","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/","title":{"rendered":"How to Install a Let\u2019s Encrypt SSL Certificate"},"content":{"rendered":"\n<p>Let\u2019s Encrypt is a service provider that provides SSLs for your website for free. This allows you to get a valid SSL certificate for use on your site. SSLs provide secure site connections and have lots of uses. This write-up will show how to get, setup, and maintain an updated SSL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Let\u2019s Encrypt SSL on Shared Servers<\/h2>\n\n\n\n<p class=\"alert alert-info\">Please note that these commands are designed to run in a series, and during the same SSH session.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First, be sure to find the <a href=\"\/support\/website\/where-to-upload-files\/\">document root for your domain<\/a><\/li><li>Then <a href=\"\/support\/server\/ssh\/shared-reseller-ssh\/\">login to your server via SSH<\/a><\/li><li>Run the command\n<pre class=\"code_block\">curl --silent https:\/\/raw.githubusercontent.com\/srvrco\/getssl\/master\/getssl &gt; getssl ; chmod 700 getssl<\/pre>\n<p>This will download the Bash script we will be using to obtain our Let\u2019s Encrypt SSL.<\/p>\n<\/li><li>Next, run the command\n<pre class=\"code_block\">sed -i 's\/curl -k\/curl -Aagent -k\/' .\/getssl<\/pre>\n<p>This adds a user-agent to the script which helps it to complete one of its tests.<\/p>\n<\/li><li>Create base configuration files for your domain by running\n<pre class=\"code_block\">domain=yourdomaingoeshere.com; .\/getssl -c $domain<\/pre>\n<p>Be sure to replace yourdomaingoeshere.com with your actual domain.<\/p>\n<\/li><li>These commands will setup your configuration file. Enter these one-by-one, in the following order\n<pre class=\"code_block\">configFile=.getssl\/$domain\/getssl.cfg; sed -i 's\/SANS\/#SANS\/' $configFile<\/pre>\n<pre class=\"code_block\">echo 'CA=\"https:\/\/acme-v01.api.letsencrypt.org\"' &gt;&gt; $configFile<\/pre>\n<pre class=\"code_block\">echo \"ACL=('\/your\/document\/root\/goes\/here\/.well-known\/acme-challenge')\" &gt;&gt; $configFile<\/pre>\n<\/li><li>Obtain the Let\u2019s Encrypt SSL by running\n<pre class=\"code_block\">.\/getssl $domain<\/pre>\n<\/li><li>To install the SSL certificate you will need to login to your cPanel and go to your file manager, Inside your home directory, you will go to the .getssl folder and then the folder for the domain name you are working with. Download the yourdomain.crt yourdomain.key and chain.crt. Once you have them downloaded go back to your cPanel and you will go to the &#8220;SSL\/TLS manager&#8221; and click &#8220;Manage SSL sites&#8221;. Once in here select the domain you want to install the certificate on from the drop down. Open the files you downloaded earlier in notepad or your preferred text editor and and paste them into the fields on the screen, The yourdomain.crt will go into the &#8220;Certificate (CRT)&#8221; field, yourdomain.key will go into the &#8220;Private Key (KEY)&#8221; field and lastly the chain.crt will go into the &#8220;Certificate Authority Bundle: (CABUNDLE)&#8221; field. Ensure you copy the entire contents of each file into these fields. Once these have been pasted in click the &#8220;Install Certificate&#8221; Button at the bottom of the page. Your SSL is now installed.<\/li><li>Let&#8217;s Encrypt SSL certificates only last 90 days, To renew the certificate simply SSH back into your account and run the command below.\n<pre class=\"code_block\">.\/getssl yourdomain<\/pre>\n<p>After Running the command repeat step 8 to install the updated certificate.<\/p>\n<\/li><\/ol>\n\n\n\n<p>Awesome! Now you&#8217;ve got a Let\u2019s Encrypt SSL all setup on your shared server.<\/p>\n\n\n<div class=\"jumbotron\">Give your small business a digital presence with our fast, secure <a href=\"https:\/\/www.inmotionhosting.com\/shared-hosting\">Shared Hosting<\/a> solutions. Easily manage your websites with the industry-leading control panel on up to 20x faster web hosting that fits your budget.<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Let\u2019s Encrypt SSL on VPS and Dedicated Servers with cPanel<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First <a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\">login to your server via SSH as root<\/a> If you do not have root access you can request it by following the directions <a href=\"\/support\/amp\/obtain-root-access\/\">here<\/a><\/li><li>Once logged in you will want to run the command below to enable lets encrypt for AutoSSL.\n<pre class=\"code_block\">\/scripts\/install_lets_encrypt_autossl_provider<\/pre>\n<\/li><li>Now that we have enabled lets encrypt we need to set your AutoSSL to use it, <a href=\"\/support\/edu\/whm\/log-into-whm\/\">login to your WHM<\/a> as root and go to the &#8220;Manage AutoSSL&#8221; menu, You can find this by searching for SSL in the searchbox in the upper left hand side.<\/li><li>On the Manage Auto SSL page you will have a list of providers for AutoSSL and you will now have the option for Let&#8217;s Encrypt. Select the radio button next to Let&#8217;s Encrypt and then click save below.<\/li><li>On the Manage Auto SSL page select &#8220;Manage Users&#8221;, From here you can enable or disable AutoSSL on a per cPanel account basis, It will be enabled for all by default, AutoSSL will check all domains every 24Hrs for certificates, You can force it to check and provision one now by clicking the &#8220;Check &#8216;cpuser'&#8221; button on the Manage Users page.<\/li><\/ol>\n\n\n\n<p>You now have a <a rel=\"noreferrer noopener\" href=\"https:\/\/letsencrypt.org\/\" target=\"_blank\">Let&#8217;s Encrypt<\/a> SSL certificate set up on your server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s Encrypt is a service provider that provides SSLs for your website for free. This allows you to get a valid SSL certificate for use on your site. SSLs provide secure site connections and have lots of uses. This write-up will show how to get, setup, and maintain an updated SSL. Let\u2019s Encrypt SSL on<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\"> Read More ><\/a><\/p>\n","protected":false},"author":56983,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4312],"tags":[],"class_list":["post-4095","post","type-post","status-publish","format-standard","hentry","category-ssl"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This write-up demonstrates how to obtain, install, and keep a Let&#039;s Encrypt SSL up-to-date!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This write-up demonstrates how to obtain, install, and keep a Let&#039;s Encrypt SSL up-to-date!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-14T18:25:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-21T14:24:04+00:00\" \/>\n<meta name=\"author\" content=\"Carrie Smaha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@carriesmaha\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carrie Smaha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\"},\"author\":{\"name\":\"Carrie Smaha\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8\"},\"headline\":\"How to Install a Let\u2019s Encrypt SSL Certificate\",\"datePublished\":\"2017-06-14T18:25:25+00:00\",\"dateModified\":\"2022-04-21T14:24:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\"},\"wordCount\":635,\"commentCount\":49,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Secure Socket Layer (SSL)\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\",\"name\":\"How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2017-06-14T18:25:25+00:00\",\"dateModified\":\"2022-04-21T14:24:04+00:00\",\"description\":\"This write-up demonstrates how to obtain, install, and keep a Let's Encrypt SSL up-to-date!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install a Let\u2019s Encrypt SSL Certificate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8\",\"name\":\"Carrie Smaha\",\"description\":\"Carrie Smaha is a Senior Marketing Operations leader with over 20 years of experience in digital strategy, web development, and IT project management. She specializes in go-to-market programs and SaaS solutions for WordPress and VPS Hosting, working closely with technical teams and customers to deliver high-performance, scalable platforms. At InMotion Hosting, she drives product marketing initiatives that blend strategic insight with technical depth.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/carriesmaha\/\",\"https:\/\/x.com\/carriesmaha\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/carries\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting","description":"This write-up demonstrates how to obtain, install, and keep a Let's Encrypt SSL up-to-date!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/","og_locale":"en_US","og_type":"article","og_title":"How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting","og_description":"This write-up demonstrates how to obtain, install, and keep a Let's Encrypt SSL up-to-date!","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-06-14T18:25:25+00:00","article_modified_time":"2022-04-21T14:24:04+00:00","author":"Carrie Smaha","twitter_card":"summary_large_image","twitter_creator":"@carriesmaha","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Carrie Smaha","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/"},"author":{"name":"Carrie Smaha","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8"},"headline":"How to Install a Let\u2019s Encrypt SSL Certificate","datePublished":"2017-06-14T18:25:25+00:00","dateModified":"2022-04-21T14:24:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/"},"wordCount":635,"commentCount":49,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Secure Socket Layer (SSL)"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/","name":"How to Install a Let\u2019s Encrypt SSL Certificate | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2017-06-14T18:25:25+00:00","dateModified":"2022-04-21T14:24:04+00:00","description":"This write-up demonstrates how to obtain, install, and keep a Let's Encrypt SSL up-to-date!","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/install-lets-encrypt-ssl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install a Let\u2019s Encrypt SSL Certificate"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/595948dab2995d347a87076abdae19d8","name":"Carrie Smaha","description":"Carrie Smaha is a Senior Marketing Operations leader with over 20 years of experience in digital strategy, web development, and IT project management. She specializes in go-to-market programs and SaaS solutions for WordPress and VPS Hosting, working closely with technical teams and customers to deliver high-performance, scalable platforms. At InMotion Hosting, she drives product marketing initiatives that blend strategic insight with technical depth.","sameAs":["https:\/\/www.linkedin.com\/in\/carriesmaha\/","https:\/\/x.com\/carriesmaha"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/carries\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4312,"name":"Secure Socket Layer (SSL)","slug":"ssl","link":"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/56983"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4095"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4095\/revisions"}],"predecessor-version":[{"id":96116,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4095\/revisions\/96116"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}