{"id":1227,"date":"2017-03-16T17:51:16","date_gmt":"2017-03-16T21:51:16","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=1227"},"modified":"2017-08-21T10:17:44","modified_gmt":"2017-08-21T14:17:44","slug":"www-easy-admin-ca-is-now-ssl-ready","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/03\/16\/www-easy-admin-ca-is-now-ssl-ready\/","title":{"rendered":"easy-admin.ca is SSL ready!"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1231 size-full\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/ssl-letsencrypt.png\" alt=\"\" width=\"814\" height=\"346\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/ssl-letsencrypt.png 814w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/ssl-letsencrypt-300x128.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/ssl-letsencrypt-768x326.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/p>\n<p>Let\u2019s Encrypt is a free, automated, and open certificate authority (CA), run for the public\u2019s benefit. It is a service provided by the<br \/>\n<strong><a href=\"https:\/\/letsencrypt.org\/isrg\/\">Internet Security Research Group (ISRG)<\/a><\/strong><\/p>\n<p>We give people the digital certificates they need in order to enable HTTPS (SSL\/TLS) for websites, for free, in the most user-friendly way we can. We do this because we want to create a more secure and privacy-respecting Web.<\/p>\n<p>The key principles behind Let\u2019s Encrypt are:<\/p>\n<ul>\n<li><strong>Free:<\/strong> Anyone who owns a domain name can use Let\u2019s Encrypt to obtain a trusted certificate at zero cost.<\/li>\n<li><strong>Automatic:<\/strong> Software running on a web server can interact with Let\u2019s Encrypt to painlessly obtain a certificate, securely configure it for use, and automatically take care of renewal.<\/li>\n<li><strong>Secure:<\/strong> Let\u2019s Encrypt will serve as a platform for advancing TLS security best practices, both on the CA side and by helping site operators properly secure their servers.<\/li>\n<li><strong>Transparent:<\/strong> All certificates issued or revoked will be publicly recorded and available for anyone to inspect.<\/li>\n<li><strong>Open:<\/strong> The automatic issuance and renewal protocol will be published as an open standard that others can adopt.<\/li>\n<li><strong>Cooperative:<\/strong> Much like the underlying Internet protocols themselves, Let\u2019s Encrypt is a joint effort to benefit the community, beyond the control of any one organization.<\/li>\n<\/ul>\n<p>We have a page with more detailed information about<br \/>\n<strong><a href=\"https:\/\/letsencrypt.org\/how-it-works\/\">how the Let\u2019s Encrypt CA works<\/a><\/strong><\/p>\n<p>Had a good external help from <strong><em>Eugene<\/em><\/strong>, I thank you for your <em><strong>great help!<\/strong><\/em><\/p>\n<p>Works with Webmin, Virtualmin,,, checking postfix!<\/p>\n<p><strong><em>have phun!<\/em><\/strong><\/p>\n<p><strong>Install Let&#8217;s Encrypt<\/strong><\/p>\n<p>Run an ssh shell to your server.<br \/>\nRun the following command:<\/p>\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"bash functions\">cd<\/code> <code class=\"bash plain\">\/usr\/local\/src\/<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"bash plain\">git clone https:<\/code><code class=\"bash plain\">\/\/github<\/code><code class=\"bash plain\">.com<\/code><code class=\"bash plain\">\/letsencrypt\/letsencrypt<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"bash functions\">cd<\/code> <code class=\"bash plain\">letsencrypt\/<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"bash plain\">.<\/code><code class=\"bash plain\">\/letsencrypt-auto<\/code> <code class=\"bash plain\">--help all<\/code><\/div>\n<\/div>\n<div>\n<div id=\"highlighter_898402\" class=\"syntaxhighlighter bash\">\n<table style=\"width: 660px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\" style=\"width: 314.5px;\"><\/td>\n<td class=\"code\" style=\"width: 313.5px;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Now login to your webmin admin panel at:<br \/>\n<kbd>https:\/\/siteaddress:10000\/<\/kbd> using root username.<\/p>\n<p>Webmin configuration&gt;SSL Encryption&gt;Let\u2019s Encrypt<\/p>\n<p>It will show you:<\/p>\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"plain plain\">Let's Encrypt is a free, automated, and open certificate authority that can be used to generate an SSL certificate for use by Webmin.<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"plain plain\">Unfortunately, Let's Encrypt cannot be used on your system : The client command letsencrypt was not found on your system.<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"plain plain\">Check the module configuration page to ensure you are using the correct path to the letsencrypt or letsencrypt-auto command.<\/code><\/div>\n<\/div>\n<div>\n<div id=\"highlighter_458085\" class=\"syntaxhighlighter plain\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\"><\/td>\n<td class=\"code\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>Click on \u201cmodule configuration\u201d<\/strong><br \/>\n<strong> and type in the path and click Save:<\/strong><\/p>\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"plain plain\">Configuration<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"plain plain\">For module Webmin Configuration<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"plain plain\">Full path to Let's Encrypt client command: \/usr\/local\/src\/letsencrypt\/letsencrypt-auto<\/code><\/div>\n<\/div>\n<div>\n<div id=\"highlighter_697555\" class=\"syntaxhighlighter plain\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\"><\/td>\n<td class=\"code\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>To enable SSL certificate for a site, Go to:<\/strong><br \/>\nVirtualmin&gt;Edit Virtual Server&gt;Enabled features<\/p>\n<p>Enable \u201cSSL website enabled\u201d<\/p>\n<p><strong>To Manage the certificate:<\/strong><br \/>\nVirtualmin&gt;Server configuration&gt;Manage SSL certificates<\/p>\n<p>Click on Let&#8217;s Encrypt and generate a new certificate<\/p>\n<p><em><strong>NOTES:<\/strong><\/em><\/p>\n<p>To force http:\/\/ to https:\/\/ include a .htaccess with the following code<\/p>\n<p><span data-story-id=\"story_4cc6425e267bb84b5cd1f33fd24414a8\" data-room-id=\"room_29eb0eca10b3cae383d3111722ffc55e\" data-timestamp=\"1489679846876\" data-text=\"RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI} [R=301,L]\" data-userid=\"657124516472844288\" data-orgid=\"657124516477038593\">RewriteEngine On<br \/>\nRewriteCond %{HTTPS} off<br \/>\nRewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI} [R=301,L]<\/span><\/p>\n<p>Edit the following \/usr\/libexec\/webmin\/virtual-server\/feature-ssl.pl lines 2148 and 2152<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1283 size-full\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/letsencrypt2.png\" alt=\"\" width=\"722\" height=\"561\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/letsencrypt2.png 722w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/03\/letsencrypt2-300x233.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>Save the file and then restart Webmin. I did so from the terminal with the command:<\/p>\n<p>sudo service webmin restart<\/p>\n<p>Source : <a href=\"https:\/\/www.virtualmin.com\/node\/48121\">https:\/\/www.virtualmin.com\/node\/48121<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s Encrypt is a free, automated, and open certificate authority (CA), run for the public\u2019s benefit. It is a service provided by the Internet Security Research Group (ISRG) We give people the digital certificates they need in order to enable HTTPS (SSL\/TLS) for websites, for free, in the most user-friendly way we can. We do &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2017\/03\/16\/www-easy-admin-ca-is-now-ssl-ready\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">easy-admin.ca is SSL ready!<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"easy-admin.ca is SSL ready! - HP Server","description":"Let\u2019s Encrypt is a free, automated, and open certificate authority (CA), run for the public\u2019s benefit. It is a service provided by the Internet Security Researc"},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1227","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1227"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1227\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}