ssl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ssl [2025/03/11 13:02] – protocol | ssl [2026/11/07 19:04] (current) – [certbot debian] protocol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Convert to PFX ===== | ||
| + | < | ||
| openssl pkcs12 -in file.pfx -out file.nokey.pem -nokeys | openssl pkcs12 -in file.pfx -out file.nokey.pem -nokeys | ||
| Line 14: | Line 16: | ||
| The 4th puts it all together into 1 file. | The 4th puts it all together into 1 file. | ||
| + | </ | ||
| + | |||
| + | ===== certbot debian ===== | ||
| + | < | ||
| + | |||
| + | sudo apt install certbot python3-certbot-apache | ||
| + | |||
| + | sudo certbot certonly -a apache --certname yourdomain.com -d yourdomain.com | ||
| + | |||
| + | |||
| + | |||
| + | sudo nano / | ||
| + | |||
| + | [renewalparams] | ||
| + | authenticator = apache | ||
| + | installer = none | ||
| + | renew_hook = systemctl reload apache2 | ||
| + | |||
| + | |||
| + | Without apache: | ||
| + | |||
| + | [renewalparams] | ||
| + | # ... other existing settings ... | ||
| + | pre_hook = systemctl stop apache2 | ||
| + | post_hook = systemctl start apache2 | ||
| + | renew_hook = systemctl restart webmin | ||
| + | |||
| + | Webmin: | ||
| + | |||
| + | sudo nano / | ||
| + | |||
| + | ssl=1 | ||
| + | keyfile=/ | ||
| + | certfile=/ | ||
| + | extracas=/ | ||
| + | |||
| + | |||
| + | </ | ||
ssl.1741698175.txt.gz · Last modified: by protocol
