Wednesday, February 24, 2016

ADFS : Token signing key cer file

Doing some node.js stuff with ADFS and I needed the token signing key as a cer file.

With automatic rollover, the certificate is not in the normal certificate store (the one you get at via mmc). Inside the ADFS wizard, you can't right click / export.

I'd just written a forum answer about getting the token signing certificate private key (which is not possible with automatic rollover) which "confused" me and I couldn't figure out how to get the .cer file.

@siacomuzzi advised:
  • Double click the certificate / details / copy to file
  • Use the X509 certificate part of the metadata
Sometimes you just can't see the wood for the trees!

Enjoy!

No comments: