Certbot with Apache: Difference between revisions

Line 22: Line 22:
certbot --apache
certbot --apache
</syntaxhighlight>...and then follow the instructions.  Remember, this has to be done on the server that hosts the web site as Certbot and Let's Encrypt require a "challenge" to be answered correctly for a certificate to be obtained.  The "challenge" question is a temporary file that certbot places in the directory of the web site (and deletes after the certificate is obtained) for the certificate issuing service to verify one is the owner of the web site.  DNS is another method that can be used in the "challenge" process, but it is a bit more complex.
</syntaxhighlight>...and then follow the instructions.  Remember, this has to be done on the server that hosts the web site as Certbot and Let's Encrypt require a "challenge" to be answered correctly for a certificate to be obtained.  The "challenge" question is a temporary file that certbot places in the directory of the web site (and deletes after the certificate is obtained) for the certificate issuing service to verify one is the owner of the web site.  DNS is another method that can be used in the "challenge" process, but it is a bit more complex.
Watch out for Certbot modifying the Apache configuration files, even if one declines the setting change in the "wizard / script".


===Enabling Automatic Certificate Renewal===
===Enabling Automatic Certificate Renewal===