Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community
LIVE
SOLVED

ADFS 3.0 new token-signing cert not in federationmetadata

Copper Contributor

Last week a added a secondary, internally signed, token-signing certificate to our ADFS 3.0 farm in advance of the cert rollover later this week. When running a get-adfsproperties to validate we see both the current primary cert and the new secondary cert. However, I'm not seeing the new cert in our federationmetadata. Why would that be?

3 Replies

Can you share the output of these two line:

$metadata = Invoke-WebRequest -Uri "https://adfs.verenatex.com/federationmetadata/2007-06/federationmetadata.xml"
([XML] $metadata.Content).EntityDescriptor.RoleDescriptor.KeyDescriptor

The output does not contain sensitive data and of course, change the URL with yours.

best response confirmed by Sloan Ozanne (Copper Contributor)
Solution

Apologies.......failed to post an update after we resolved it.

 

Ended up having to reboot the ADFS servers. Cycling the ADFS service wasn't enough. Likely some other internal issue that needs to be looked at, and will, but this specific problem with the metadata is resolved.

Hello,

 

we have a similar issue with our federationmetadata.xml

We generated new token signing and encryption certificates on Dec.22 2017 but just the token signing certificate appears in the federationmetadata.xml very strange.

The ADFS servers have been restarted a few days after the certificate generation by auto reboot after installing windows updates.

 

here ist the output of the  web-request command:

 

PS C:\WINDOWS\system32> $metadata = Invoke-WebRequest -Uri "https://server.domain.com/federationmetadata/2007-06/federationmetadata.xml"
([XML] $metadata.Content).EntityDescriptor.RoleDescriptor.KeyDescriptor

use KeyInfo
--- -------
encryption KeyInfo
signing KeyInfo
signing KeyInfo

 

Does anyone have an idea why the new token encryption certificate not in the federationmetadata ?

 

Best regards 

 

Martin

1 best response

Accepted Solutions
best response confirmed by Sloan Ozanne (Copper Contributor)
Solution

Apologies.......failed to post an update after we resolved it.

 

Ended up having to reboot the ADFS servers. Cycling the ADFS service wasn't enough. Likely some other internal issue that needs to be looked at, and will, but this specific problem with the metadata is resolved.

View solution in original post