Federation Guides › Partnership Federation Guide › Getting Started with a Simple Partnership › Enable Signature Processing
Enable Signature Processing
Digitally signing assertions is required in a SAML 2.0 POST single sign-on. For signing and verification tasks, CA SiteMinder® uses a private key/certificate pair.
Before any transaction or runtime actions, an administrator at IdP1 sends a file to SP1 that contains a certificate (public key). This key is associated with the private key. IdP1 uses the public key to sign assertions. An administrator at SP1 adds the certificate to its certificate data store.
When the single sign-on transaction occurs, IdP1 signs the assertion with its private key. SP1 receives the assertion and verifies the assertion signature using the certificate in its certificate data store.
Configure Signature Processing at the IdP
For HTTP-POST single sign-on, Idp1 is required to sign assertions. The IdP has to sign the assertion using a private key stored in the certificate data store.
Note: The example assumes that you have a file from which you can import a key/certificate pair. Alternatively, a private key/certificate pair is already in the certificate data store.
To configure signing
- Select Federation, Partnership Federation, Partnerships.
- Select Action, Deactivate next to the entry for TestPartnership, which is the IdP ->SP partnership.
Deactivation is required before editing.
- Click Action, Modify next to the TestPartnership entry.
The partnership wizard opens.
- Select the Signature and Encryption step.
- In the Signature section, complete the following tasks:
- Clear Disable Signature Processing.
- Click Import next to the Signing Private Key Alias field.
The Import Certificate/Private Key window opens.
- Complete the import wizard as follows:
- Select the file from where you are importing the private key/certificate pair.
- For a pkcs#12 file, supply the password that encrypts the file. You already have this password.
- Select the certificate entry from the file that you want to import and enter a value for the Alias, such as cert1.
- Confirm the selection and click Finish.
You return to the Federation Partnerships list.
- Select Action, Modify for the partnership entry.
- Go to the Signature and Encryption step. In the dialog, notice that the key/certificate that you imported is now available from the Signing Private Key Alias drop-down list.
- Select the alias, cert1 and click Next.
- Review the settings in the Confirm dialog and click Finish.
You return to the Partnerships window.
- Reactivate the partnership by selecting Action, Activate next to the TestPartnership entry.
Signature processing is now configured at the IdP.
Configure Signature Processing at the SP
SP1 is required to verify the signature of an assertion. Before a transaction, SP1 has received the certificate (public key) from IdP1. This certificate is for the private key IdP1 used to sign the assertion. This certificate is imported into the SP1 certificate data store.
To configure signature verification
- Select Federation, Partnership Federation, Partnerships.
The Partnerships window opens.
- Select Action, Deactivate next to the entry for DemoPartnership.
Deactivation is required before editing.
- Click Action, Modify next to the DemoPartnership entry.
The partnership wizard opens.
- Select the Signature and Encryption step.
- In the Signature section, complete the following tasks:
- Clear Disable Signature Processing.
- Click Import next to the Verification Certificate Alias field.
The Import Certificate/Private Key window opens.
- Complete the import wizard as follows:
- Select the file from where you are importing the certificate.
- Select the certificate entry from the file that you want to import and enter a value for the Alias, such as cert1.
- Confirm the selection and click Finish.
You return to the Federation Partnership List.
- Select Action, Modify for the partnership entry.
- Go to the Signature and Encryption step. In the dialog. Notice that the key/certificate that you imported is now available from the Signing Private Key Alias drop-down list.
- Select the alias, cert1, for the certificate and click Next.
- Review the settings in the Confirm dialog and click Finish.
You return to the Partnerships window.
- Reactivate the partnership by selecting Action, Activate next to the DemoPartnership entry.
Signature verification is now configured at the SP.
Copyright © 2014 CA.
All rights reserved.
|
|