{"id":31001,"date":"2021-02-05T10:30:57","date_gmt":"2021-02-05T02:30:57","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=31001"},"modified":"2022-09-08T21:35:29","modified_gmt":"2022-09-08T13:35:29","slug":"how-to-use-lets-encrypt-on-vestacp-login-panel-port-8083","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-use-lets-encrypt-on-vestacp-login-panel-port-8083","title":{"rendered":"HOW TO USE LET\u2019S ENCRYPT ON VESTACP LOGIN PANEL (PORT 8083)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"31001\" class=\"elementor elementor-31001\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e3e669b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e3e669b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8a18013\" data-id=\"8a18013\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b370659 elementor-widget elementor-widget-heading\" data-id=\"b370659\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is Let's Encrypt?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-46bde03 elementor-widget elementor-widget-text-editor\" data-id=\"46bde03\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p><b>Let\u2019s Encrypt<\/b>\u00a0is a certificate authority that launched on April 12, 2016\u00a0that provides free X.509 certificates for Transport Layer Security (TLS) encryption via an automated process designed to eliminate the current complex process of manual creation, validation, signing, installation, and renewal of certificates for secure websites.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bc4f149 elementor-widget elementor-widget-heading\" data-id=\"bc4f149\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Steps To Use Let\u2019s Encrypt On Vesta Login Panel<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-793c696 elementor-widget elementor-widget-text-editor\" data-id=\"793c696\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol><li>Firstly, <strong>login to VestaCP\u2019s admin panel<\/strong> installed on your <a href=\"https:\/\/www.casbay.com\/vps-hosting-malaysia\">Linux Server<\/a> using the hostname along with port 8083 in front of it like this https:\/\/server1.demo.com:8083<br \/><br \/><\/li><li>Then, navigate to the <strong>WEB<\/strong> section of VestaCP and <strong>locate your server\u2019s hostname<\/strong> and then click on <strong><strong><strong><strong>EDIT.<br \/><br \/><\/strong><\/strong><\/strong><\/strong><\/li><li>Now locate <strong>SSL Support<\/strong> and\u00a0<strong>Let\u2019s Encrypt Support<\/strong> and make sure you <strong>check both of them<\/strong>. Then click on <strong>Save.<br \/><br \/>Note<\/strong>: DO NOT CLICK ANYWHERE TILL THE PROCESS IS DONE OR LET&#8217;S ENCRYPT MIGHT FAIL TO CREATE THE CERTIFICATE<br \/><br \/><\/li><li>After that, <strong>Let\u2019s encrypt<\/strong> creates and stores its SSL certs in <em>\/home\/username\/conf\/web<br \/><\/em>And lists them as :-<p><em>ssl.website.crt<\/em><br \/><em>ssl.website.key<\/em><\/p><p>Whereas <strong>VestaCP<\/strong> control panel stores its hostname SSL certs in <em>\/usr\/local\/vesta\/ssl<br \/><\/em>And lists them as:<\/p><p><em>certificate.crt<\/em><br \/><em>certificate.key<\/em><\/p><p>So, we need to <strong>rename the old VestaCP cert files<\/strong> first to some dummy text <strong>so that VestaCP no longer use them<\/strong> and then <strong>Symlink<\/strong> the files. Please follow the next steps to know how to do this.<\/p><\/li><li><strong>SSH<\/strong> into your server and enter these two commands to rename the old files :-<br \/><code><code><code><br \/>mv \/usr\/local\/vesta\/ssl\/certificate.crt \/usr\/local\/vesta\/ssl\/unusablecer.crt<br \/>mv \/usr\/local\/vesta\/ssl\/certificate.key \/usr\/local\/vesta\/ssl\/unusablecer.key<\/code><\/code><\/code><p>\u00a0<\/p><code><code><\/code><\/code><\/li><li>Next, create <strong>symlinks<\/strong> to point to the new ones <strong>(Replace admin with your admin username and server1.casbay.com with your server\u2019s hostname (FQDN)<\/strong>.<br \/><code><code>\u00a0<br \/>ln -s \/home\/admin\/conf\/web\/ssl.server1.casbay.com.crt \/usr\/local\/vesta\/ssl\/certificate.crt<br \/>ln -s \/home\/admin\/conf\/web\/ssl.server1.casbay.com.key \/usr\/local\/vesta\/ssl\/certificate.key<\/code><\/code><p>\u00a0<\/p><\/li><li><strong>Restart<\/strong> VestaCP.<br \/><code><code><code><br \/>service vesta restart<\/code><\/code><\/code><p>\u00a0<\/p><code><code><\/code><\/code><\/li><li>Lastly, <strong>clear your browser cache<\/strong> and then try logging in to your control along with port 8083 and Bingo, port 8083 is now SSL secure!<\/li><\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-01c979c elementor-widget elementor-widget-heading\" data-id=\"01c979c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Broken Permissions Solution <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13ebdb8 elementor-widget elementor-widget-text-editor\" data-id=\"13ebdb8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>To fix broken permissions, enter the following commands.<\/p><p><strong>Replace\u00a0your.adminpanel.com\u00a0with your admin panel\u2019s URL.<br \/><\/strong><br \/><code>chgrp mail ssl.your.adminpanel.com.key<br \/>\n<\/code><br \/><code>chmod 660 ssl.your.adminpanel.com.key<br \/>\n<\/code><br \/><code>chgrp mail ssl.your.adminpanel.com.crt<br \/>\n<\/code><br \/><code>chmod 660 ssl.your.adminpanel.com.crt<\/code><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1c218e4 elementor-widget elementor-widget-text-editor\" data-id=\"1c218e4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>We hope this article helped you to learn about how to use Let&#8217;s Encrypt on VestaCP login panel. For more articles, kindly visit our <a href=\"https:\/\/www.casbay.com.my\/guide\/\">Knowledge Base<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>What is Let&#8217;s Encrypt? Let\u2019s Encrypt\u00a0is a certificate authority that launched on April 12, 2016\u00a0that provides free X.509 certificates for Transport Layer Security (TLS) encryption via an automated process designed to eliminate the current complex process of manual creation, validation, signing, installation, and renewal of certificates for secure websites. Steps To Use Let\u2019s Encrypt On [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","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":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","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":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","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-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-gradient":""}},"ast-content-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-gradient":""},"tablet":{"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-gradient":""},"mobile":{"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-gradient":""}}},"kbtopic":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/31001"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=31001"}],"version-history":[{"count":6,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/31001\/revisions"}],"predecessor-version":[{"id":36487,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/31001\/revisions\/36487"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=31001"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=31001"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=31001"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=31001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}