Need help with integrating OpenID(SSO) connect using Spring boot Java and deploy the application to Azure Stack with SSL certificate

Chenna, Satya 1 Reputation point
2022-10-07T05:19:47.91+00:00

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.
Also the certificate used is Venafi and is loaded in the with custom domain and TLS/SSL settings . I have not used keyvault as the ssl certificate is loaded in the settings

Also the certificate used is Venafi and is loaded in the with custom domain and TLS/SSL settings . I have not used keyvault as the ssl certificate is loaded in the settings

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

Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
180 questions
{count} votes