mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 23:51:59 +01:00
Certificates are now only valid for 24 hours.
This commit is contained in:
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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user