{"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&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
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

What is Let's Encrypt?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

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

\n\t\t\t\t
\n\t\t\t

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
\n\t\t\t\t
\n\t\t\t\t\t\t\t
  1. Firstly, login to VestaCP\u2019s admin panel<\/strong> installed on your Linux Server<\/a> using the hostname along with port 8083 in front of it like this https:\/\/server1.demo.com:8083

    <\/li>
  2. Then, navigate to the WEB<\/strong> section of VestaCP and locate your server\u2019s hostname<\/strong> and then click on EDIT.

    <\/strong><\/strong><\/strong><\/strong><\/li>
  3. Now locate SSL Support<\/strong> and\u00a0Let\u2019s Encrypt Support<\/strong> and make sure you check both of them<\/strong>. Then click on Save.

    Note<\/strong>: DO NOT CLICK ANYWHERE TILL THE PROCESS IS DONE OR LET’S ENCRYPT MIGHT FAIL TO CREATE THE CERTIFICATE

    <\/li>
  4. After that, Let\u2019s encrypt<\/strong> creates and stores its SSL certs in \/home\/username\/conf\/web
    <\/em>And lists them as :-

    ssl.website.crt<\/em>
    ssl.website.key<\/em><\/p>

    Whereas VestaCP<\/strong> control panel stores its hostname SSL certs in \/usr\/local\/vesta\/ssl
    <\/em>And lists them as:<\/p>

    certificate.crt<\/em>
    certificate.key<\/em><\/p>

    So, we need to rename the old VestaCP cert files<\/strong> first to some dummy text so that VestaCP no longer use them<\/strong> and then Symlink<\/strong> the files. Please follow the next steps to know how to do this.<\/p><\/li>

  5. SSH<\/strong> into your server and enter these two commands to rename the old files :-

    mv \/usr\/local\/vesta\/ssl\/certificate.crt \/usr\/local\/vesta\/ssl\/unusablecer.crt
    mv \/usr\/local\/vesta\/ssl\/certificate.key \/usr\/local\/vesta\/ssl\/unusablecer.key<\/code><\/code><\/code>

    \u00a0<\/p><\/code><\/code><\/li>

  6. Next, create symlinks<\/strong> to point to the new ones (Replace admin with your admin username and server1.casbay.com with your server\u2019s hostname (FQDN)<\/strong>.
    \u00a0
    ln -s \/home\/admin\/conf\/web\/ssl.server1.casbay.com.crt \/usr\/local\/vesta\/ssl\/certificate.crt
    ln -s \/home\/admin\/conf\/web\/ssl.server1.casbay.com.key \/usr\/local\/vesta\/ssl\/certificate.key<\/code><\/code>

    \u00a0<\/p><\/li>

  7. Restart<\/strong> VestaCP.

    service vesta restart<\/code><\/code><\/code>

    \u00a0<\/p><\/code><\/code><\/li>

  8. Lastly, 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
    \n\t\t\t\t
    \n\t\t\t

    Broken Permissions Solution <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\t

    To fix broken permissions, enter the following commands.<\/p>

    Replace\u00a0your.adminpanel.com\u00a0with your admin panel\u2019s URL.
    <\/strong>
    chgrp mail ssl.your.adminpanel.com.key
    \n<\/code>
    chmod 660 ssl.your.adminpanel.com.key
    \n<\/code>
    chgrp mail ssl.your.adminpanel.com.crt
    \n<\/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

    \n\t\t\t\t
    \n\t\t\t\t\t\t\t

    We hope this article helped you to learn about how to use Let’s Encrypt on VestaCP login panel. For more articles, kindly visit our 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":"

    What is Let’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 […]<\/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}]}}