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?