The below config is working for me. cas.authn.oidc.jwksFile=file:/etc/cas/keystore.jwks
On Tue, 24 Sep 2019, 11:03 pm Shawn Cutting, <[email protected]> wrote: > Ok, this is strange. I am not sure why the error is giving > /etc/cas/jwks/keystore.jwks when that is not in the config. I did have it > there at one point, but why did it persist after I restarted the service? > > On Tuesday, September 24, 2019 at 10:59:05 AM UTC-4, Shawn Cutting wrote: >> >> cas.authn.oidc.jwksFile=file:/etc/cas/keystore.jwks >> >> On Tuesday, September 24, 2019 at 10:57:02 AM UTC-4, Dmitriy Kopylenko >> wrote: >>> >>> What is the value of *cas.authn.oidc.jwksFile *property? >>> >>> D. >>> >>> >>> From: Shawn Cutting <[email protected]> >>> Reply: [email protected] <[email protected]> >>> Date: September 24, 2019 at 10:49:24 AM >>> To: CAS Community <[email protected]> >>> Subject: [cas-user] OpenID Connect issues >>> >>> I am trying to setup CAS to function as an OpenID provider, and am >>> running into a roadblock. When I attempt to retrieve the jwks info, I am >>> hit with the following error in the log: >>> >>> java.io.FileNotFoundException: Could not open ServletContext resource >>> [/etc/cas/jwks/keystore.jwks] >>> at >>> org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:141) >>> ~[spring-web-4.3.20.RELEASE.jar:4.3.20.RELEASE] >>> at >>> org.apereo.cas.oidc.web.controllers.OidcJwksEndpointController.lambda$handleRequestInternal$1(OidcJwksEndpointController.java:89) >>> ~[cas-server-support-oidc-5.3.11.jar:5.3.11] >>> >>> I know that CAS sees and can read the file, because if I make any format >>> changes to the JSON, it returns an error stating that there is an incorrect >>> character in the file. >>> Any help would be fabulous. Thanks. >>> -- >>> - Website: https://apereo.github.io/cas >>> - Gitter Chatroom: https://gitter.im/apereo/cas >>> - List Guidelines: https://goo.gl/1VRrw7 >>> - Contributions: https://goo.gl/mh7qDG >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "CAS Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/6b87b276-bfdc-4112-9526-b5bad3872c67%40apereo.org >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/6b87b276-bfdc-4112-9526-b5bad3872c67%40apereo.org?utm_medium=email&utm_source=footer> >>> . >>> >>> -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/afda9ed0-ebab-4edc-9ad7-e4123d30372b%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/afda9ed0-ebab-4edc-9ad7-e4123d30372b%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9J-Y0K4%3DFdSBPsHQw%3DHKeJkSfTR%2BrVMe4u%3DMvT8XT6aDQquw%40mail.gmail.com.
