That should get you a REAL cert and setup the renewals for it.
Check:
certbot certificsates
crontab -l
Certificates are there but the crontab is empty
It may use system.
Try:
systemctl status certbot
or
systemctl list-timers certbot.timer
I think I see it.
Only problem is https doesn’t work.
That is the last step:
Modify the default ssl file:
/etc/apache2/sites-available/default-ssl.conf
Change:
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
To use your new cert files (check exact path with: certbot certificates
)
Change (if needed):
DocumentRoot /var/www/html
I have port 443 forwarded on my router
I just did that, but it doesn’t seem to be on https.
STOP THE PRESSES!
We were NOT done yet - you are in too much of a hurry
a2ensite default-ssl.conf
systemctl reload apache2
Additional things you might want to do:
- redirect all HTTP to HTTPS
- tweak the ciphers and protocols used (
/etc/apache2/mods-available/ssl.conf
) - slow down, breathe, let life happen … LOL
- send me a beer …
[quote=“rg305, post:50, topic:105552”]
a2ensite default-ssl.conf systemctl reload apache2
[/quote]thank you so much for all you time and help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.