Hello,

The endpoint seems to use the *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* 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/d578e93f-70a5-4727-aa12-72ad43b64c14n%40apereo.org.

Reply via email to