DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  verify digital signature in datapower

    Posted Tue May 18, 2021 09:53 AM

    Hi Guys,

    I am trying to verify a signature that is sha256 using the verify sign in the processing rule but it keeps giving incorrect digest error.i am using the same certificate i used to sign and the message was signed by datapower can someone assist me



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: verify digital signature in datapower

    Posted Wed May 19, 2021 09:51 AM

    Hi,

    If DataPower signs the request, does it also send it directly to verification or how do you send the signed request?

    --HP



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: verify digital signature in datapower

    Posted Wed May 19, 2021 10:00 AM

    Thanks hpernaa.The request is sent to an outbound endpoint but i am picking up the unformatted message and using the test message function am getting invalid digest of the same message in another process where i verify the same signature



    #DataPower
    #Support
    #SupportMigration


  • 4.  RE: verify digital signature in datapower

    Posted Wed May 19, 2021 10:16 AM

    How do you pick it up? If you use probe or text editor or anything else there is a very high probability that you'll "break" the request. If you want to be sure that the message isn't altered during the process you'll have to send it directly from DataPower to the verify service/rule/what you are using to verify the signature.


    --HP



    #DataPower
    #Support
    #SupportMigration


  • 5.  RE: verify digital signature in datapower

    Posted Wed May 19, 2021 10:38 AM

    ok thanks let me do that and il revert to you with the results




    #DataPower
    #Support
    #SupportMigration


  • 6.  RE: verify digital signature in datapower

    Posted Wed May 19, 2021 10:48 AM

    i have tested and it has worked thanks.let me ask someone to sign a document and send it to my datapower i confirm it will be validated.thanks a bunch



    #DataPower
    #Support
    #SupportMigration