{"id":435,"date":"2018-01-25T13:26:42","date_gmt":"2018-01-25T13:26:42","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=435"},"modified":"2020-09-16T22:09:14","modified_gmt":"2020-09-16T16:09:14","slug":"how-to-install-autossl-for-server-hostname-cpanel-server","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-install-autossl-for-server-hostname-cpanel-server.html","title":{"rendered":"How To: Install AutoSSL for Server Hostname &#8211; Cpanel Server"},"content":{"rendered":"\n<p><strong>How about install Let&#8217;s Encrypt for Cpanel?<\/strong><\/p>\n\n\n\n<p>Before we start, you may first want to install Let&#8217;s Encrypt to use an Immediately Issuing provider for your SSL in Cpanel?<\/p>\n\n\n\n<p><a href=\"https:\/\/mellowhost.com\/blog\/how-to-install-lets-encrypt-in-cpanel.html\">https:\/\/mellowhost.com\/blog\/how-to-install-lets-encrypt-in-cpanel.html<\/a><\/p>\n\n\n\n<p>Once done, you may now continue using this tutorial to install Let&#8217;s Encrypt for your Service SSL in Cpanel\/WHM\/Webmail.<\/p>\n\n\n\n<p><strong>How To Install AutoSSL for Server Hostname \/ Webmail \/ Cpanel \/ WHM<\/strong><\/p>\n\n\n\n<p>Starting from Cpanel 11.58, Cpanel is offering Free SSL, issued by &#8216;Cpanel INC&#8217; for free of charge to the valid cpanel license owner. If you are using cpanel, login to your WHM &gt;&gt; Providers &gt;&gt; Enable Cpanel &amp; from Options &gt;&gt; Check Allow AutoSSL to replace invalid or expiring non-AutoSSL certificates.<\/p>\n\n\n\n<p>Now, running upcp should automatically install the free SSL for your cpanel server hostname. If it doesn&#8217;t, it is probably because your server IP and the hostname IP are resolving to wrong address. To understand and troubleshoot the problem, run the following script from command line:<\/p>\n\n\n\n<p><code>#&nbsp;\/usr\/local\/cpanel\/bin\/checkallsslcerts<\/code><\/p>\n\n\n\n<p>This script checks and installs certificate for expired, invalid and self signed certificates for the server services. If you are seeing an error like the following:<\/p>\n\n\n\n<p><code>[WARN] The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID 62hp6x) The system queried for a temporary file at \u201chttp:\/\/server91.mellowhost.com\/.well-known\/pki-validation\/D92868E512FB02354F2498B94E67430B.txt\u201d, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist.<\/code><\/p>\n\n\n\n<p>It means, your hostname is resolving to the wrong IP. You would need to check if the hostname is resolving to an IP which has first virtualhost pointed to \/var\/www\/html or not under \/etc\/apache2\/conf\/httpd.conf<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How about install Let&#8217;s Encrypt for Cpanel? Before we start, you may first want to install Let&#8217;s Encrypt to use an Immediately Issuing provider for your SSL in Cpanel? https:\/\/mellowhost.com\/blog\/how-to-install-lets-encrypt-in-cpanel.html Once done, you may now continue using this tutorial to install Let&#8217;s Encrypt for your Service SSL in Cpanel\/WHM\/Webmail. How To Install AutoSSL for Server &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-install-autossl-for-server-hostname-cpanel-server.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How To: Install AutoSSL for Server Hostname &#8211; Cpanel Server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,144,180,33,12,191,21,150,25],"tags":[265,266,267],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/435"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":4,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":654,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/435\/revisions\/654"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}