Verifying the peer name on the X509 Certs correctly.

- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
  the SANs. Will fix the test cert another time...
This commit is contained in:
Julien Boeuf 2015-02-23 15:57:14 -08:00
parent 690ce2de79
commit d930d42b3c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ var server;
var port;
var name_override = 'foo.test.google.com';
var name_override = 'foo.test.google.fr';
describe('Interop tests', function() {
before(function(done) {