Hi Folks,
The use case is as below:
-
We have been doing the HTTPS call to a Microsoft API even before but they never asked for the certificate till now.
-
Now we have to call them to a new URL and pass our certificate, they have configured the thumbprint of same certificate at their end.
-
We were doing a custom http call before, but now we are doing the http call as below
- pub.security.keystore:setKeyAndChain
- pub.client:http
- pub.security:clearKeyAndChain
But still getting the error as : com.wm.net.NetException: [ISC.0064.9314] Authorization Required: Client certificate or AAD Bearer token not found in request.
-
We have our certificate configured and mapped with our HTTPS port in Security > Keystore and we have CA Cert in truststore.
-
Even we have configured the certificate of the API which we are making HTTPS call to in Security > Certificates > Configure Client Certificates and mapped to a user which is part of group Administrator .
-
In Security > Certificates, I have the same Keystore and TrustStore as we have in Security > Keystore.
Still not sure what else required to send them the certificate so that they can verify the HTTPS call with certificate against the thumbprint of same certificate.
Though here from pub.security.keystore:setKeyAndChain no certificate is produced and not sure if it is produced from services like pub.security.keystore:getKeyAndChain or pub.security.keystore:getTrustedCertificates, where to pass it in pub.client:http
Any help here would be much appreciated!
Regards,
Sanket