2015-07-01 08:23:54 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTPS
|
|
|
|
HTTP GET
|
|
|
|
PEM certificate
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<features>
|
|
|
|
SSL
|
|
|
|
SSLpinning
|
|
|
|
</features>
|
|
|
|
<server>
|
|
|
|
https Server-localhost-sv.pem
|
|
|
|
</server>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2015-07-01 08:23:54 +08:00
|
|
|
HTTPS wrong base64-sha256 pinnedpubkey but right CN
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --pinnedpubkey sha256//bSIggTf+ikMG0CtmDlpMVBd7yi7H1md4URogRPqerso= https://localhost:%HTTPSPORT/%TESTNUMBER
|
2015-07-01 08:23:54 +08:00
|
|
|
</command>
|
|
|
|
# Ensure that we're running on localhost because we're checking the host name
|
|
|
|
<precheck>
|
|
|
|
perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );"
|
|
|
|
</precheck>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
90
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|