Reputation: 383
[![enter image description here][1]][1]Currently I'm reading a client certificate from the external client and then validating in apim using policies which is done using
<policies>
<inbound>
Now when the request is valid and must attach the servercertificate along with the request and then send it back to the client.
How must this be done? can you please help.
Upvotes: 3
Views: 819
Reputation: 7810
Since you're putting certificate into a header you could simply bin64 encode it. You should be able to do it either by accessing RawData property or calling Export on it.
Upvotes: 2