Skip to content

Commit fc699da

Browse files
committed
tests/NIT/nit.sh: request NSS server cert with SubjAltName extension [#1711]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 8d77086 commit fc699da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/NIT/nit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ EOF
10331033
|| die "Could not import the CA certificate to NSS Server database"
10341034
# Create a server certificate request:
10351035
# NOTE: IRL Each run should have a separate random seed; for tests we cut a few corners!
1036-
certutil -R -d . -f .pwfile -s "CN=${TESTCERT_SERVER_NAME},OU=Test,O=NIT,ST=StateOfChaos,C=US" -a -o server.req -z "${TESTCERT_PATH_ROOTCA}"/.random \
1036+
certutil -R -d . -f .pwfile -s "CN=${TESTCERT_SERVER_NAME},OU=Test,O=NIT,ST=StateOfChaos,C=US" -a -o server.req -z "${TESTCERT_PATH_ROOTCA}"/.random --extSAN "dns:localhost,dns:localhost6,dns:127.0.0.1,dns:::1,ip:127.0.0.1,ip:::1" \
10371037
|| die "Could not create a NSS Server certificate request"
10381038

10391039
# Sign a certificate request with the CA certificate:

0 commit comments

Comments
 (0)