If the assertion is encrypted at the Identity Provider, the Service Provider must have the private key and corresponding certificate in its smkeydatabase.
The Service Provider accepts an encrypted assertion from the Identity Provider as long as it has the private key and certificate to decrypt the assertion. You do not have to enable the Require an Encrypted Assertion feature for the SAML authentication scheme to accept an encrypted assertion at the Service Provider.
To add the private key and certificate to the smkeydatabase
smkeytool.bat -createDB -password fedDB
This command creates the smkeydatabase at the Service Provider with the password fedDB.
The command for this deployment is:
smkeytool.bat -addPrivKey -alias sp1privkey -keyfile "c:\program files\ca\siteminder\certs\sp-encrypt.der" -certfile "c:\program files\ca\siteminder\certs\sp-encrypt.crt" -password fedsvcs
The first part of this command is the location of the private key, sp-encrypt.der. The second part of the command is the location of the public key, sp-encrypt.crt, followed by the password, fedsvcs. Fedsvcs is the password associated with the private key.
Copyright © 2012 CA.
All rights reserved.
|
|