Bug 435743: Add untrusted and self signed https servers to the test server. r=ted

This commit is contained in:
Dave Townsend 2009-01-21 11:01:00 +00:00
parent 6ea2fab760
commit 4337f12680
4 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -111,6 +111,8 @@ https://sub1.test2.example.com:443 privileged
https://sub2.test1.example.com:443 privileged
https://sub2.test2.example.com:443 privileged
https://nocert.example.com:443 privileged,nocert
https://self-signed.example.com:443 privileged,cert=selfsigned
https://untrusted.example.com:443 privileged,cert=untrusted
https://requestclientcert.example.com:443 privileged,clientauth=request
https://requireclientcert.example.com:443 privileged,clientauth=require

View File

@ -243,7 +243,7 @@ bool ConfigureSSLServerSocket(PRFileDesc* socket, server_info_t* si, string &cer
AutoCert cert(PK11_FindCertFromNickname(
certnick, NULL));
if (!cert) {
fprintf(stderr, "Failed to find cert %s\n", si->cert_nickname.c_str());
fprintf(stderr, "Failed to find cert %s\n", certnick);
return false;
}