Example: Exporting an Identity Provider
smfedexport -type saml2idp -entityid http://www.myidp.com/idp1 -expiredays 30 -sign -pubkey -slohttpredir http://www.mysite.com /affwebservices/public/saml2slo -reqsignauthr -ssoart http://www.mysite.com/affwebservices/public/saml2sso -artressvc http://www.mysite.com/affwebservices/ saml2artifactresolution -output myidpdescription.xml
Example: Exporting a Service Provider
smfedexport -type saml2sp -entityid http://www.myidp.com/sp1 -expiredays 30 -sign -pubkey -slohttpredir http://www.mysite.com/ affwebservices/public/saml2slo -signauthr -aconsvcpost http://www.mysite.com/affwebservices/public/saml2assertionconsumer -aconsvcpostindex 12345 -output myidpdescription.xml
Example: Modifying and Signing an Exported Data File
In this example, you are modifying and digitally signing an XML file using the smfedexport.
To modify and sign a metadata file
smfedexport -sign -infile file -output file
For example:
smfedexport -sign -infile myspdescription.xml -output newspdescription.xml
To modify an exported file that is already digitally signed
smfedexport -sign -infile file -output file
For example:
smfedexport -sign -infile myspdescription.xml -output newspdescription.xml
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |