Issue SSL certificate via Certbot (Apache)
Run interactive Certbot for Apache. Pick the domain and confirm redirect to HTTPS.
Issues a certificate for a domain and automatically modifies the Apache VirtualHost to enable HTTPS and redirect HTTP traffic. Certbot handles all the Apache config changes.
When you need this: After setting up an Apache VirtualHost and pointing the domain DNS to your server.
Variables
Command
3 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.