Hi - i am looking to the community to see what the best/easiest way to validate client certificates (Client to Apigee) is, if its possible, and any experience notes anyone might have on this.
Note: im talking about doing this inside a proxy w/o having to write a custom callout (or maybe thats the way to do it?)
Solved! Go to Solution.
I see, I was jumping ahead. This can be done in the VirtualHost (and the cURL above would come after for sanity check).
Cloud customers currently need to submit a Support ticket, OPDK customers can do this per the Ops guide. The VirtualHost would be configured something like the following. In this example, the keystore contains the server cert and private key, and the truststore contains the client certificate(s) (NO private key).
{ "VirtualHost": { "-name": "twowayssl", "HostAliases": { "HostAlias": "api.example.com" }, "Port": "8443", "SSLInfo": { "ClientAuthEnabled": "true", "Enabled": "true", "IgnoreValidationErrors": "false", "KeyAlias": "keyalias", "KeyStore": "keystore", "Protocols": { "Protocol": "TLSv1" }, "TrustStore": "truststore" } } }
Does this help?