Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

2 way SSL authentication enabled but not working

I created a virtual host with the following properties

{
  "hostAliases" : [ "somealias1.com", "somealias2.com" ],
  "interfaces" : [ ],
  "name" : "defaultSSL",
  "port" : "9443",
  "sSLInfo" : {
  "ciphers" : [ ],
  "clientAuthEnabled" : true,
  "enabled" : true,
  "ignoreValidationErrors" : true,
  "keyAlias" : "apidev",
  "keyStore" : "SomeKeyStore",
  "protocols" : [ ],
  "trustStore" : "SomeTruststore"
  }
}

in SomeTruststore,

{
  "certs" : [ "apidpdev" ],
  "keys" : [ ],
  "name" : "SomeTruststore"
}

So when I run

curl -k https://somealias1.com:9443/testping

I am actually getting a response.

I was expecting this would fail because I did not pass any "apidpdev" cert that is defined in SomeTruststore.

Am I missing something?

0 5 632
5 REPLIES 5