Greetings,
I am trying to setup the elytron-oidc-subsystem to secure my deployment (let's say by name explorer.war) to redirect me to an external site for authentication.
So far I have this:
<subsystem xmlns="urn:wildfly:elytron-oidc-client:1.0">
<secure-deployment name="explorer.war">
<client-id>my-client-id</client-id>
<provider-url>https://<external-site></provider-url>
<ssl-required>external</ssl-required>
</secure-deployment>
</subsystem>
The problem is that I am getting a WARN logs after wildfly starts:
ELY23005: Unable to load OpenID provider metadata from https://<external-site>/.well-known/openid-configuration
When I try to reach this site from my browser it all goes through and I get a response JSON. But for some reason there's a problem when wildfly is trying to reach the site.
I was thinking that maybe it's because of the HTTPS protocol used in this case.
Does anybody have an idea to my problem?
Thanks