mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-11 14:54:27 -05:00
- Fix for attaching the X509v3 extensions to the client certificate.
This commit is contained in:
parent
59d15ac9cf
commit
50178d764a
1 changed files with 3 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ if [ ! -f "$SVR_BASE.key" ]; then
|
|||
fi
|
||||
|
||||
cat >server.cnf <<EOF
|
||||
[req]
|
||||
default_bits=$BITS
|
||||
default_md=$HASH
|
||||
prompt=no
|
||||
|
|
@ -189,6 +190,8 @@ if [ ! -f "$CTL_BASE.pem" -o $RECREATE -eq 1 ]; then
|
|||
-CAkey "$SVR_BASE.key" \
|
||||
-CAcreateserial \
|
||||
-$HASH \
|
||||
-extfile client.cnf \
|
||||
-extensions v3_req \
|
||||
-out "$CTL_BASE.pem"
|
||||
|
||||
[ ! -f "CTL_BASE.pem" ] || fatal "cannot create signed client certificate"
|
||||
|
|
|
|||
Loading…
Reference in a new issue