At the beginning of the inSequence, I have an OAuth mediator.
<oauthService remoteServiceUrl="https://xx.xx.x.xxx:9444/services/" password="admin" username="admin"/>
wso2mi shows me this error:
INFO {HTTPSender} - Unable to sendViaPost to url[https://10.22.0.234:9444/services/OAuth2TokenValidationService] javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
I used wso2is-5.11.0 and wso2mi-4.1.0.
I have an error using the same products that you describe.
The Support Team said me that IS 5.11.0 is not compatible with oauth mediator so you need to do a custom mediator or in a sequence do the call to validate the token.
This is my error:
I add new news 29/03/2023:
WSO2 say me that it's probable they add a update that it resolves this problem.