{"id":6002,"date":"2021-07-16T22:05:45","date_gmt":"2021-07-16T22:05:45","guid":{"rendered":"https:\/\/www.geekdecoder.com\/?p=6002"},"modified":"2021-07-16T22:05:45","modified_gmt":"2021-07-16T22:05:45","slug":"install-lets-encrypt-ssl-on-hostname-in-cpanel-whm-server","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2021\/07\/16\/install-lets-encrypt-ssl-on-hostname-in-cpanel-whm-server\/","title":{"rendered":"Install Let\u2019s Encrypt SSL on Hostname in cPanel\/WHM Server"},"content":{"rendered":"<p>Good Info:<br \/>\nhttps:\/\/www.interserver.net\/tips\/kb\/install-lets-encrypt-cpanel-whm-server\/<br \/>\nhttps:\/\/lowendtalk.com\/discussion\/106071\/installing-free-ssl-for-server-hostname-using-letsencrypt<\/p>\n<p>Login to the server via ssh andlLet&#8217;s run the following command to install Let\u2019s Encrypt provider:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\/scripts\/install_lets_encrypt_autossl_provider\n<\/pre>\n<p>Once you have installed Let\u2019s Encrypt provider, change auto SSL provider to Let\u2019s Encrypt from cPanel (powered by Sectigo).<\/p>\n<p>Login to WHM >> Manage AutoSSL.<\/p>\n<p><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834-1024x175.png\" alt=\"\" width=\"640\" height=\"109\" class=\"alignnone size-large wp-image-6650\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834-1024x175.png 1024w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834-300x51.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834-768x131.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834-1536x262.png 1536w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-081834.png 1666w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a> <\/p>\n<p>Select Let\u2019s Encrypt from cPanel (powered by Sectigo). Check the &#8220;I agree to these terms of service.&#8221;, and the &#8220;Recreate my current registration with \u201cLet\u2019s Encrypt&#8221;.<\/p>\n<p><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120-1024x570.png\" alt=\"\" width=\"640\" height=\"356\" class=\"alignnone size-large wp-image-6652\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120-1024x570.png 1024w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120-300x167.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120-768x428.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-082120.png 1138w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Install Self-Signed Certificate to Hostname.<\/p>\n<p>Login to WHM as a root user. Go to \u201cService Configuration\u201d.<\/p>\n<p><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225-1024x193.png\" alt=\"\" width=\"640\" height=\"121\" class=\"alignnone size-large wp-image-6655\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225-1024x193.png 1024w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225-300x57.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225-768x145.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-083225.png 1521w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Then select the following services and click on \u201cBrowse Certificate\u201d. Calendar, cPanel, WebDisk, Webmail, and WHM Services, Dovecot Mail Server, Exim (SMTP) Server, FTP Server.<br \/>\n<a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084028.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084028.png\" alt=\"\" width=\"670\" height=\"196\" class=\"alignnone size-full wp-image-6657\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084028.png 670w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084028-300x88.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p>Select hostname and click on \u201cUse Certificate\u201d.<br \/>\n<a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084440.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084440.png\" alt=\"\" width=\"732\" height=\"508\" class=\"alignnone size-full wp-image-6659\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084440.png 732w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084440-300x208.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a><\/p>\n<p>Then click on \u201cInstall\u201d.<\/p>\n<p><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084600.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084600.png\" alt=\"\" width=\"658\" height=\"811\" class=\"alignnone size-full wp-image-6661\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084600.png 658w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084600-243x300.png 243w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/a><\/p>\n<p>Restart cpsrvd<\/p>\n<p><a href=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084750.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084750.png\" alt=\"\" width=\"544\" height=\"175\" class=\"alignnone size-full wp-image-6663\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084750.png 544w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2021\/07\/Screenshot-2022-09-29-084750-300x97.png 300w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/a><\/p>\n<p>Replace Self Signed Certificates with Valid Let\u2019s Encrypt Certificates.<\/p>\n<p>Once you have installed the self-signed certificate, run the following command to check SSL certificates<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n\/usr\/local\/cpanel\/bin\/checkallsslcerts --verbose\n<\/pre>\n<p>We can see the SSL CRT&#8217;s have been requested for your services. The hostname for the SSL CRT will be with one that is currently defined in cPanel:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# whmapi1 gethostname|grep hostname:\nhostname: server1.hostname.com\n<\/pre>\n<p>While the process is not always this fast, after a few moments, we can see the SSL CRT&#8217;s are ready for install.<br \/>\nThen re-ran the &#8216;\/usr\/local\/cpanel\/bin\/checkallsslcerts &#8211;verbose&#8217; command which would have been ran at maintenance time. You may verify at WHM > Service Configuration > Manage Service SSL Certificates.<\/p>\n<p>You can verify SSL installation by running https:\/\/server1.hostname.com:2087<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Info: https:\/\/www.interserver.net\/tips\/kb\/install-lets-encrypt-cpanel-whm-server\/ https:\/\/lowendtalk.com\/discussion\/106071\/installing-free-ssl-for-server-hostname-using-letsencrypt Login to the server via ssh andlLet&#8217;s run the following command to install Let\u2019s Encrypt provider: \/scripts\/install_lets_encrypt_autossl_provider Once you have installed Let\u2019s Encrypt provider, change auto SSL provider to Let\u2019s Encrypt from cPanel (powered by Sectigo). Login to WHM >> Manage AutoSSL. Select Let\u2019s Encrypt from cPanel (powered by Sectigo). Check &#8230; <a title=\"Install Let\u2019s Encrypt SSL on Hostname in cPanel\/WHM Server\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2021\/07\/16\/install-lets-encrypt-ssl-on-hostname-in-cpanel-whm-server\/\" aria-label=\"Read more about Install Let\u2019s Encrypt SSL on Hostname in cPanel\/WHM Server\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,123],"tags":[],"class_list":["post-6002","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-whm"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=6002"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6002\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=6002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=6002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=6002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}