websites: dustinandtabitha: Switch to mod_md for cert
The _dustinandtabitha.com_ site now obtains its certificate from Let's Encrypt using the Apache _mod_md_ (managed domain) module. This dramatically simplifies the deployment of this certificate, eliminating the need for _cert-manager_ to obtain it, _cert-exporter_ to add it to _certs.git_, and Jenkins to push it out to the web server.master
parent
33da25209d
commit
f5ab739c9e
|
@ -1 +0,0 @@
|
||||||
../lego/dustinandtabitha.com.crt
|
|
|
@ -1 +0,0 @@
|
||||||
../lego/dustinandtabitha.com.key
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
MDomain dustinandtabitha.com
|
||||||
|
|
||||||
<VirtualHost _default_:80>
|
<VirtualHost _default_:80>
|
||||||
ServerName dustinandtabitha.com
|
ServerName dustinandtabitha.com
|
||||||
ServerAlias www.dustinandtabitha.com
|
ServerAlias www.dustinandtabitha.com
|
||||||
|
@ -11,8 +13,6 @@ ServerName dustinandtabitha.com
|
||||||
ServerAlias www.dustinandtabitha.com
|
ServerAlias www.dustinandtabitha.com
|
||||||
|
|
||||||
Include conf.d/ssl.include
|
Include conf.d/ssl.include
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/dustinandtabitha.com.key
|
|
||||||
SSLCertificateFile /etc/pki/tls/certs/dustinandtabitha.com.cer
|
|
||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
Header always set \
|
Header always set \
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- role: cert
|
|
||||||
vars:
|
|
||||||
cert_src: websites/dustinandtabitha.com.cer
|
|
||||||
cert_dest: /etc/pki/tls/certs/dustinandtabitha.com.cer
|
|
||||||
cert_key_src: websites/dustinandtabitha.com.key
|
|
||||||
cert_key_dest: /etc/pki/tls/private/dustinandtabitha.com.key
|
|
||||||
tags:
|
|
||||||
- websites/dustinandtabitha
|
|
Loading…
Reference in New Issue