1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 19:42:03 +01:00

Certificates are now only valid for 24 hours.

This commit is contained in:
Frank Denis 2015-07-06 02:10:51 +02:00
parent ccf1511ee5
commit a87edf4cc1

@ -24,6 +24,7 @@ new_key() {
--provider-secretkey-file="${KEYS_DIR}/secret.key" \
--crypt-secretkey-file="${STKEYS_DIR}/${ts}.key" \
--provider-cert-file="${STKEYS_DIR}/${ts}.cert" && \
--cert-file-expire-days=1 && \
mv -f "${STKEYS_DIR}/${ts}.cert" "${STKEYS_DIR}/dnscrypt.cert"
}