mirror of https://github.com/grpc/grpc-node.git
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:
parent
690ce2de79
commit
d930d42b3c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue