My app requires target endpoint to be set dynamically based on KVM variable. Is there a way to do this? I tried following link: https://docs.apigee.com/api-platform/reference/policies/javascript-policy. This works but fails when the target.url requires mutual client auth certificate. I tried setting the SSLInfo in the javascript policy but no luck.
SSLInfo settings were independently verified part of HTTPTargetConnection with hardcoded URL.
Any help would be much appreciated.