{"id":1048,"date":"2021-08-16T13:52:49","date_gmt":"2021-08-16T13:52:49","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/08\/16\/5496683-how-to-fix-ssl-issues-on-cyberpanel-vps-at-hostinger\/"},"modified":"2021-08-16T13:52:49","modified_gmt":"2021-08-16T13:52:49","slug":"5496683-how-to-fix-ssl-issues-on-cyberpanel-vps-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5496683-how-to-fix-ssl-issues-on-cyberpanel-vps-at-hostinger\/","title":{"rendered":"How to Fix SSL Issues on CyberPanel VPS at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">If you face any issues while <b><a href=\"\/support\/5387409-how-to-install-a-free-ssl-on-cyberpanel\" target=\"_blank\" class=\"intercom-content-link\">installing an SSL certificate<\/a><\/b> on your domain, CyberPanel generates a <b>self-signed<\/b> certificate instead. This certificate, however, isn&rsquo;t acceptable to the majority of the browsers and is causing a red screen warning. Below you will find steps on how to fix this issue. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">For all the steps, you need to access your VPS root <b>via SSH<\/b>. After each step, you will need to double-check the SSL certificate&rsquo;s status, to see if your latest action fixed it.<\/p><ol>\n<li>\n<p class=\"no-margin\"><b>Upgrade CyberPanel<\/b> to the latest version. It can be done by executing this SSH command:<\/p>\n<pre><code>sh &lt;(curl https:\/\/raw.githubusercontent.com\/usmannasir\/cyberpanel\/stable\/preUpgrade.sh || wget -O - https:\/\/raw.githubusercontent.com\/usmannasir\/cyberpanel\/stable\/preUpgrade.sh)<\/code><\/pre>\n<p class=\"no-margin\">\n<\/p><\/li>\n<li>\n<p class=\"no-margin\"><b>Upgrade ACME SSL Client<\/b> to the latest version. For this, run the following command:<\/p>\n<pre><code>wget -O -  https:\/\/get.acme.sh | sh <\/code><\/pre>\n<p class=\"no-margin\">\n<\/p><\/li>\n<li>\n<p class=\"no-margin\">Check for <b>additional error logs<\/b>:<\/p>\n<pre><code>cat \/home\/cyberpanel\/error-logs.txt<\/code><\/pre>\n<p class=\"no-margin\">You might find specific errors, by fixing which you&rsquo;ll be able to solve the SSL certificate&rsquo;s error.  <\/p>\n<p class=\"no-margin\">\n<\/p><\/li>\n<li>\n<p class=\"no-margin\">Execute SSL installation with <b>debug flag<\/b>:<\/p>\n<pre><code>\/root\/.acme.sh\/acme.sh --issue -d yourdomain.com -d www.yourdomain.com --cert-file \/etc\/letsencrypt\/live\/www.rmronsol.com\/cert.pem --key-file \/etc\/letsencrypt\/live\/yourdomain.com\/privkey.pem --fullchain-file \/etc\/letsencrypt\/live\/yourdomain.com\/fullchain.pem -w \/home\/yourdomain.com\/public_html --server letsencrypt --force --debug <\/code><\/pre>\n<\/li>\n<\/ol><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">If the issue persists after going through these steps, check the official documentation for further options: <b><a href=\"https:\/\/cyberpanel.net\/KnowledgeBase\/home\/how-to-fix-ssl-issues-in-cyberpanel\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">How to fix SSL issues in CyberPanel<\/a><\/b>.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fixing common SSL errors on CyberPanel VPS<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[200],"tags":[],"class_list":["post-1048","post","type-post","status-publish","format-standard","hentry","category-cyberpanel-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5496683-how-to-fix-ssl-issues-on-cyberpanel-vps-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5496683-como-solucionar-problemas-de-ssl-en-cyberpanel-vps-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5496683-comment-resoudre-les-problemes-de-ssl-sur-un-vps-cyberpanel-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5496683-bagaimana-cara-mengatasi-kendala-ssl-di-cyberpanel-vps\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/5496683-como-reparar-erros-do-ssl-na-vps-cyberpanel-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}