Test: restconf CN variable, strip curl newline

Fixed a few compile warnings
This commit is contained in:
Olof hagsand 2022-05-11 09:20:40 +02:00
parent c27ecf0923
commit 7065d6f760
5 changed files with 10 additions and 6 deletions

View file

@ -105,6 +105,9 @@ else
netcat=
fi
# SSL serv cert common name XXX should use DNS resolve
: ${SSLCN:="localhost"}
# Options passed to curl calls
# -s : silent
# -S : show error
@ -1104,7 +1107,7 @@ prompt = no
distinguished_name = dn
req_extensions = ext
[dn]
CN = www.clicon.org # localhost
CN = ${SSLCN} # localhost
emailAddress = olof@hagsand.se
O = Clixon
L = Stockholm