Change webmail cert path to client path and add symlink on server.
So webmail can be moved between servers if necessary.
This commit is contained in:
parent
8efa0b29d6
commit
f7639c230a
|
@ -51,3 +51,8 @@ server_key:
|
||||||
ssh_auth.present:
|
ssh_auth.present:
|
||||||
- user: root
|
- user: root
|
||||||
- source: salt://certificates/certificates_id_ed25519.pub
|
- source: salt://certificates/certificates_id_ed25519.pub
|
||||||
|
|
||||||
|
server_client_certificate_location:
|
||||||
|
file.symlink:
|
||||||
|
- name: /var/local/certificates
|
||||||
|
- target: /var/lib/dehydrated/certs
|
||||||
|
|
|
@ -54,8 +54,8 @@
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /var/lib/dehydrated/certs/mail.lunch.org.uk/fullchain.pem
|
SSLCertificateFile /var/local/certificates/mail.lunch.org.uk/fullchain.pem
|
||||||
SSLCertificateKeyFile /var/lib/dehydrated/certs/mail.lunch.org.uk/privkey.pem
|
SSLCertificateKeyFile /var/local/certificates/mail.lunch.org.uk/privkey.pem
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue