See also Using LetsEncrypt SSL Certificates with Zimbra
Home Page: https://letsencrypt.org/certificates/
Documentation: https://certbot.eff.org/all-instructions/
Webmin: https://doxfer.webmin.com/Webmin/Let's_Encrypt
CAA records authorize SSL certificate issuance by certain certificate authorities.
For Virtualmin managed domains, manually enter something like:
hostname.domain.tld. IN CAA 0 issue "letsencrypt.org"
Test Your Certs: https://www.digicert.com/help/
Home: https://github.com/PKISharp/win-acme/wiki/Basic-usage
How to Run: https://github.com/PKISharp/win-acme/wiki/How-to-Run
This is a simple CLI tool that automates a great deal while allowing for numerous configurations.
This script is still under heavy development.
Exchange 2016 HowTo: https://www.netometer.com/video/tutorials/How-to-Install-LetsEncrypt-Certificate-in-Exchange-Server/
Exchange 2016 HowTo: https://mediarealm.com.au/articles/lets-encrypt-microsoft-exchange-installation/
Make sure the site works as desired before attempting to acquire a LetsEncrypt cert!
If you need to add a SAN (Subject Alternative Name) to a LetsEncrypt cert, you first have to make the web server serve that SAN. One way is to add a ServerAlias
to the site's Apache configuration file:
Virtualmin → <vserver> → Services → Configure Website → Edit Directives
or edit /etc/apache2/sites-available/yourdomain.tld.conf
, adding:
ServerAlias desiredalias.yourdomain.tld
With LetsEncrypt, it's currently difficult to add the SAN and redirect it to a folder. Here we just redirect it
This will install Apache if not already installed.
https://certbot.eff.org/lets-encrypt/ubuntuxenial-apache
apt-get update && apt-get -y install software-properties-common add-apt-repository ppa:certbot/certbot apt-get update && apt-get -y install python-certbot-apache
certbot renew --dry-run
Make sure the site works as desired before attempting to acquire a LetsEncrypt cert!
Virtualmin supports Let's Encrypt SSL certificates for hosted virtual servers.
Virtualmin → <domain> → Edit Virtual Server → Apache SSL website → Enable → Save
Virtualmin → <domain> → Server Configuration → Manage SSL Certificate → Let's Encrypt
https://serverfault.com/questions/750902/how-to-use-lets-encrypt-dns-challenge-validation
https://certbot.eff.org/docs/using.html#manual
Add this for testing:
--staging
apt install certbot certbot -d hostname.yourdomain.tld --manual --preferred-challenges dns certonly certbot renew --dry-run certbot certificates
Documentation: https://doxfer.webmin.com/Webmin/Let's_Encrypt
More Info: http://webmin.com/ssl.html
Webmin also supports Let's Encrypt SSL certificates.
Webmin → Webmin → Webmin Configuration → SSL Encryption → Let's Encrypt
Certbot has its own log rotation.
/etc/logrotate.d/letsencrypt
/var/log/letsencrypt/letsencrypt.log { daily rotate 0 firstaction /usr/bin/find /var/log/letsencrypt/ -name "letsencrypt.log.*" -mtime +100 -delete endscript nocreate missingok notifempty }
Test:
ll /var/log/letsencrypt/ #before logrotate -f /etc/logrotate.d/letsencrypt ll /var/log/letsencrypt/ #after
Remove scheduled task and registry key (HKEY_LOCAL_MACHINE\Software\letsencrypt-win-simple), then perform an iisreset
as an administrator.
Increase verbosity:
--verbose