np, glad it helps - Andy On Tuesday, 22 December 2020 at 23:36:41 UTC+8 [email protected] wrote:
> Yes, changing cas.server.name does the trick. Thanks a lot! > > Andy Ng 在 2020年12月22日 星期二下午10:29:37 [UTC+8] 的信中寫道: > >> Hello, >> >> The endpoint seems to use the *cas.server.name <http://cas.server.name>* >> properties, see: >> >> https://github.com/apereo/cas/blob/v6.2.6/support/cas-server-support-saml-idp-core/src/main/java/org/apereo/cas/support/saml/idp/metadata/generator/BaseSamlIdPMetadataGenerator.java#L121 >> >> Have you these *cas.server.name <http://cas.server.name>* for your CAS >> server? like so: >> https://apereo.github.io/cas/6.2.x/configuration/Configuration-Properties.html#cas-server >> >> If no, try and see if this fix it. FYI you also need to remove the >> idp-metadata.xml and the cert files for it to regenerate those files. >> >> Cheers! >> - Andy >> On Tuesday, 22 December 2020 at 13:48:13 UTC+8 [email protected] wrote: >> >>> Hi, >>> >>> cas version: 6.2.6 >>> >>> I have added the following line inside application.properties: >>> >>> cas.authn.saml-idp.entity-id=https://xx.xx.xx.xx:8443/cas/idp/metadata >>> >>> However, the certificate generated in /etc/cas/saml/idp-metadata.xml >>> still shows: >>> X509v3 Subject Alternative Name: >>> DNS:cas.example.org, URI:cas.example.org/idp/metadata >>> >>> How can I override the default value? >>> >> -- - 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/98a601b3-eb17-4c1a-b093-693af3731b70n%40apereo.org.
