{"id":1815,"date":"2021-04-05T15:00:41","date_gmt":"2021-04-05T13:00:41","guid":{"rendered":"https:\/\/itsimple.info\/?p=1815"},"modified":"2021-04-05T15:00:42","modified_gmt":"2021-04-05T13:00:42","slug":"webmin-secure-connection-failed","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=1815","title":{"rendered":"Webmin Secure Connection Failed"},"content":{"rendered":"<p>After upgrade Webmin or general updates for the Linux system you can not connect to webmin portal. the reason is usually bad TLS setting or weak certificate . the simple way to fix this is to just re-issue new certificate. First you need to shutdown the ssl option so that the Webmin\u00a0 portal will be accessed without SSL (on the same port though) :<\/p>\n<p>nano <span dir=\"ltr\">\/etc\/<b>webmin<\/b>\/miniserv.conf\u00a0\u00a0\u00a0 (# the ssl option)<br \/>\n<\/span><\/p>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-Disable_SSL.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1816\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-Disable_SSL.png\" alt=\"\" width=\"642\" height=\"364\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-Disable_SSL.png 642w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-Disable_SSL-300x170.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/a><\/p>\n<p>restart the webmin<\/p>\n<pre>service webmin restart<\/pre>\n<p>now navigate to the same address without SSL but with the same port in use for the Webmin portal, in this example the port is 443 :<\/p>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-url_nossl.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1817\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-url_nossl.png\" alt=\"\" width=\"554\" height=\"34\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-url_nossl.png 554w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-url_nossl-300x18.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/a><\/p>\n<p>now the portal is accessible again :<\/p>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-restored_Access.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1818\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-restored_Access.png\" alt=\"\" width=\"393\" height=\"396\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-restored_Access.png 393w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-restored_Access-298x300.png 298w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-restored_Access-150x150.png 150w\" sizes=\"auto, (max-width: 393px) 100vw, 393px\" \/><\/a><\/p>\n<p>from here you will need to go to the Webmin configuration and issue new self signed certificate or new legal one :<\/p>\n<p><a href=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1819\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert.png\" alt=\"\" width=\"1374\" height=\"579\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert.png 1374w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert-300x126.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert-1024x432.png 1024w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/04\/Webmin-new_cert-768x324.png 768w\" sizes=\"auto, (max-width: 1374px) 100vw, 1374px\" \/><\/a><\/p>\n<p>After that the ssl will work again !<\/p>\n<p>You will need to re-add the value ssl=1 the the minisrv.conf<\/p>\n<pre><span style=\"color: #008000;\">nano <span dir=\"ltr\">\/etc\/<b>webmin<\/b>\/miniserv.conf<\/span><\/span>\n\n<span style=\"color: #000080;\">at the end of the file add: ssl=1<\/span>\n<span style=\"color: #000080;\">save the file<\/span>\n\n<span style=\"color: #008000;\">service webmin restart<\/span><\/pre>\n<p>now you are ready to get into HTTPS URL again<\/p>\n<hr \/>\n<h3>Good Luck<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>After upgrade Webmin or general updates for the Linux system you can not connect to webmin portal. the reason is usually bad TLS setting or weak certificate . the simple way to fix this is to just re-issue new certificate. First you need to shutdown the ssl option so that the Webmin\u00a0 portal will be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,13,21,4,12],"tags":[],"class_list":["post-1815","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","category-operating-systems","category-tech","category-tutorials"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1815"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1815\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}