How to generate a SignatureValue for a SAML XML

I should begin by saying that I am not a developer and have very little programming skills. With that being said I have a request to generate a 'SignatureValue' for a SAML XML. I have the x.509 certificate which was purchased from a third party. Research shows that the SignatureValue is the actual value of the digital signature used to sign the x.509 certificate.

But how do I pull that value/information from the x.509certificate?
dowhatyoudo22Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

becraigCommented:
You simply need to export the certificate public key into base 64 format and open in notepad and copy the key blob.

You can then insert the public portion of your keypair into your xml.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dowhatyoudo22Author Commented:
When you mention the key blob I assume you are referring to the block of characters between the Begin and End Certificate statements?

There is another section in the SAML XML (ds:X509Certificate). This field is to be field with the certificate used to sign the SAML. I have exported the x509 format of the SSL key I am using from my third party vendor and put it in this field.

Exporting the public key into base 64 format and copying the key blob into the signaturevalue field would be putting the same information into two separate places, would it not? If I'm understanding you correctly I will be putting the same key blob information into the signaturevalue and the x509certificate fields?
0
becraigCommented:
This may be the signing of the token that you have done:
<ds:Signature>
ds:X509Certificate

The signature will be a certificate the you have the private key for, which will be defined in your assertion.

what element is did you embed the x509 tag in ?

This is not extremely complicated but will require a lot of reading to better understand Idp and sso using SAML2.0


Some suggested reading:
https://developer.salesforce.com/page/Single_Sign-On_for_Desktop_and_Mobile_Applications_using_SAML_and_OAuth
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.