Certbot on Amazon Linux with Custom Apache Directories


#1

Hi All,
Does anybody have experience with Letsencrypt/Certbot on Amazon Linux?
I get the certbot-auto script from wget https://dl.eff.org/certbot-auto
Does the certbot-auto script only make changes to /etc/letsencrypt and /etc/httpd directories? (I have apache config files in /etc/httpd)
If I backup these two directories before using the certbox-auto script I assume I can always return to the previous configuration - correct?
Thanks
Thomas S


#2

Hi @tps1

Does anybody have experience with Letsencrypt/Certbot on Amazon Linux?

Amzon Linux is much the same as most other Linux platforms

As for the Apache - I believe Certbot Looks in a specific location for these.

Have a review of the configuration options for the Apache Plugin

Specifically:

–apache-vhost-root APACHE_VHOST_ROOT
Apache server VirtualHost configuration root (default:
/etc/apache2/sites-available)

apache:
Apache Web Server plugin - Beta

–apache-enmod APACHE_ENMOD
Path to the Apache ‘a2enmod’ binary. (default:
a2enmod)
–apache-dismod APACHE_DISMOD
Path to the Apache ‘a2dismod’ binary. (default:
a2dismod)
–apache-le-vhost-ext APACHE_LE_VHOST_EXT
SSL vhost configuration extension. (default: -le-
ssl.conf)
–apache-server-root APACHE_SERVER_ROOT
Apache server root directory. (default: /etc/apache2)
–apache-vhost-root APACHE_VHOST_ROOT
Apache server VirtualHost configuration root (default:
/etc/apache2/sites-available)
–apache-logs-root APACHE_LOGS_ROOT
Apache server logs directory (default:
/var/log/apache2)
–apache-challenge-location APACHE_CHALLENGE_LOCATION
Directory path for challenge configuration. (default:
/etc/apache2)
–apache-handle-modules APACHE_HANDLE_MODULES
Let installer handle enabling required modules for
you.(Only Ubuntu/Debian currently) (default: True)
–apache-handle-sites APACHE_HANDLE_SITES
Let installer handle enabling sites for you.(Only
Ubuntu/Debian currently) (default: True)


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.