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

@ -153,7 +153,7 @@ new "nmap ssl-cert-intaddr"
expectpart "$(nmap --script ssl-cert-intaddr -p 443 127.0.0.1)" 0 "443/tcp open https"
new "nmap ssl-cert"
expectpart "$(nmap --script ssl-cert -p 443 127.0.0.1)" 0 "443/tcp open https" "| ssl-cert: Subject: commonName=www.clicon.org/organizationName=Clixon/countryName=SE"
expectpart "$(nmap --script ssl-cert -p 443 127.0.0.1)" 0 "443/tcp open https" "| ssl-cert: Subject: commonName=${SSLCN}/organizationName=Clixon/countryName=SE"
new "nmap ssl-date"
expectpart "$(nmap --script ssl-date -p 443 127.0.0.1)" 0 "443/tcp open https"