Attempt apache mod_md with Lets Encrypt Staging
This commit is contained in:
parent
754ce4a6f8
commit
a9ce587c21
@ -1,3 +1,17 @@
|
|||||||
|
MDBaseServer on
|
||||||
|
MDCertificateProtocol ACME
|
||||||
|
MDCAChallenges http-01
|
||||||
|
MDDriveMode auto
|
||||||
|
MDPrivateKeys RSA 4096
|
||||||
|
MDRenewWindow
|
||||||
|
MDStoreDir md
|
||||||
|
# MDCertificateAuthority https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
# We want staging for now...
|
||||||
|
MDCertificateAuthority https://acme-staging-v02.api.letsencrypt.org/directory
|
||||||
|
# MDCertificateAgreementhttps://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
|
||||||
|
# https://httpd.apache.org/docs/trunk/mod/mod_md.html says the below works...
|
||||||
|
MDCertificateAgreement accepted
|
||||||
|
|
||||||
<Directory "/srv/http">
|
<Directory "/srv/http">
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
@ -58,6 +72,8 @@
|
|||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
MDomain {{ item.fqdn }}
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLProtocol all -TLSv1.1
|
SSLProtocol all -TLSv1.1
|
||||||
@ -65,8 +81,12 @@
|
|||||||
SSLHonorCipherOrder on
|
SSLHonorCipherOrder on
|
||||||
SSLCipherSuite PROFILE=SYSTEM
|
SSLCipherSuite PROFILE=SYSTEM
|
||||||
SSLProxyCipherSuite PROFILE=SYSTEM
|
SSLProxyCipherSuite PROFILE=SYSTEM
|
||||||
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
|
# original
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
|
# SSLCertificateFile /etc/pki/tls/certs/localhost.crt
|
||||||
|
# SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
|
||||||
|
# mod_md should change hte default value to this
|
||||||
|
# SSLCertificateFile /etc/httpd/md/domains/{{ item.fqdn }}/pubcert.pem
|
||||||
|
# SSLCertificateKeyFile /etc/httpd/md/domains/{{ item.fqdn }}/privkey.pem
|
||||||
ServerName {{ item.fqdn }}
|
ServerName {{ item.fqdn }}
|
||||||
ServerAdmin webmaster@firedragonenterprises.com
|
ServerAdmin webmaster@firedragonenterprises.com
|
||||||
DocumentRoot /srv/http/{{ item.fqdn }}
|
DocumentRoot /srv/http/{{ item.fqdn }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user