We are getting "Certificate for <sandbox.virginmoney.com> doesn't match any of the subject alternative names: " while making the token call for Virgin Money.
Token URL: https://sandbox.virginmoney.com/sandbox/openbanking/oidcapi/oauth2/token
Method : POST
grant_type : client_credentials
scope : openid accounts
Content-Type : application/json
Authorization: Basic XXXXXXXXXXXXXXXXXXXXX
When we are trying to make a token call during SSL handshake, we are getting the above-mentioned error.
Also when we modify the java code to send the underlying transport cert irrespective of the CA list from server CertificateRequest, this works fine and we get an HTTP 200 response with the token.
I think the CA list should contain the OB sandbox CA also as supported CA clients to work fine. Let us know otherwise.