diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:05:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:05:58 +0000 |
commit | 7c4404525559a942e2f84af8e8db6b260cf788fe (patch) | |
tree | 187972b08fe79d6b16fad95609e11f8b7b8f965f /debian/config-dir/conf-available/ssl-dehydrated.conf | |
parent | Adding configuration file to rewrite http to https. (diff) | |
download | apache2-7c4404525559a942e2f84af8e8db6b260cf788fe.tar.xz apache2-7c4404525559a942e2f84af8e8db6b260cf788fe.zip |
Adding configuration file for dehydrated ssl certificates.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config-dir/conf-available/ssl-dehydrated.conf')
-rw-r--r-- | debian/config-dir/conf-available/ssl-dehydrated.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/config-dir/conf-available/ssl-dehydrated.conf b/debian/config-dir/conf-available/ssl-dehydrated.conf new file mode 100644 index 0000000..a51d5cd --- /dev/null +++ b/debian/config-dir/conf-available/ssl-dehydrated.conf @@ -0,0 +1,12 @@ +# /etc/apache2/conf-available/ssl-dehydrated.conf + +<IfModule mod_ssl.c> + <IfFile /var/lib/dehydrated/certs/${HOSTNAME}/cert.pem> + SSLEngine on + + SSLCertificateFile /var/lib/dehydrated/certs/${HOSTNAME}/cert.pem + SSLCertificateKeyFile /var/lib/dehydrated/certs/${HOSTNAME}/privkey.pem + SSLCertificateChainFile /var/lib/dehydrated/certs/${HOSTNAME}/chain.pem + SSLCACertificateFile /var/lib/dehydrated/certs/${HOSTNAME}/fullchain.pem + </IfFile> +</IfModule> |