Need help with integrating OpenID(SSO) connect using Spring boot Java and deploy the application to Azure Stack with SSL certificate
Thing to accomplish
I have been working on integrating OpenID(SSO) connect using Spring boot Java and deploy the application to Azure Stack with SSL certificate.
What Works
Pointing to Local/Development Instances:
When I do the GET and POST calls in POSTMAN Tool pointing to development code, OIDC Client works as expected.
And as well, when I run code locally on my workstation, things are working as expected.
Azure Stack instances:
Having the same Java Spring boot application deployed onto Azure Stack disabling OpenID(OIDC), application works fine as expected.
Issue encountered
But when I deploy the same Java Spring boot application to Azure Stack enabling OpenID(OIDC), to the azure stack with Custom Domain and SSL binding application throws the below error:
[invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0 Access Token Response: I/O error on POST request for : Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
So I am anticipating there should be few configurations that needs to enabled to accept our SSL certificate in-order to authorize allow access to our application
I need help in figuring out those config’s/ Java code or assistance in setting up them in Azure stack.
Any help will be greatly appreciated. Thanks in advance