mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
test: Use our own generate_cert helper
The current generate_cert helper was originally taken from Go's source, and is more complex than we need it to be. This patch replaces it with our own version, rewritten from scratch independently.
This commit is contained in:
@@ -186,7 +186,7 @@ function generate_certs_for() {
|
||||
mkdir -p ${CONFDIR}/certs/${1}/
|
||||
(
|
||||
cd ${CONFDIR}/certs/${1}
|
||||
generate_cert -ca -duration=1h -host=${1}
|
||||
generate_cert -ca -validfor=1h -host=${1}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user