<VirtualHost _default_:443> ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/htdocs SSLEngine on SSLCertificateFile path/to/your/example.com.crt SSLCertificateKeyFile path/to/your/example.com.key </VirtualHost> Remember to restart your Apache (or Nginx, or IIS)...
I've used CertBot to generate a certificate for *.example.com but if I try to expand this to include *.internal.example.com the DNS challenge fails because LetsEncrypt cannot reach this domain. I have tried running both: sudo certbot certonly --manual --preferred-challenges=...
<VirtualHost _default_:443> ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/htdocs SSLEngine on SSLCertificateFile path/to/your/example.com.crt SSLCertificateKeyFile path/to/your/example.com.key </VirtualHost> Remember to restart your Apache (or Nginx, or IIS)...