How to generate a SignatureValue for a SAML XML

Posted on 2014-08-08
Last Modified: 2014-10-10
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?
Question by:dowhatyoudo22
    LVL 28

    Accepted Solution

    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.

    Author Comment

    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?
    LVL 28

    Expert Comment

    This may be the signing of the token that you have done:

    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:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
    Read about why website design really matters in today's demanding market.
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now