Question
Michele De Chiffre · Aug 9, 2021

OAuth SSL certificate error

I'm trying to implement an OAuth2 server, but I have som issues when trying to setup JWT under OAuth 2.0->Client.

I get the error message saying "No match between server name 'localhost' and SSL certificate values 'cache'". I have set up a SSL/TLS configuration as simple as possible without any certificate files. I'm accessing my server via HTTPS with an unsigned certificate.

Can anyone point me in the right direction on how to resolve the issue I'm encountering. 

Screenshot 1: When I set "Source other than dynamic registration" to "JWKS from URL" under "JSON Web Token (JWT) Settings"

Screenshot 2: My SSL/TLS configuration

 

Product version: Ensemble 2018.1
0
0 141
Discussion (1)2
Log in or sign up to continue

You are connecting to the server 'localhost'. This server sends back the certificate. And this certificate says that it is for the server "cache". "cache" is not equal to the "localhost", hence the error.

Either access the server using the name "cache" (e.g. by changing hosts file). Or change the certificate