Skip to content
Snippets Groups Projects
Commit 5c59ee94 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Pull the certificate files from the source directory. Ensure that the

certificate tests only run on a localhost-hosted test server since the
host name is explicitly checked.
parent 9075195e
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,12 @@ https Server-localhost-sv.pem
simple HTTPS GET
</name>
<command>
--cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/310
--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/310
</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>
#
......
......@@ -24,8 +24,12 @@ https Server-localhost0h-sv.pem
HTTPS wrong subjectAltName but right CN
</name>
<command>
--cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311
--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/311
</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>
#
......
......@@ -24,8 +24,12 @@ https Server-localhost.nn-sv.pem
HTTPS GET to localhost and null-prefixed CN cert
</name>
<command>
--cacert certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt https://localhost:%HTTPSPORT/312
</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>
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment