OSB - sign a SOAP message
521236May 28 2010 — edited Jun 1 2010Hi!
I would like to sign a SOAP message. I already know that I have to use policy to do it. For example I assign the predefined Sign.xml policy file to my business service and I choose a Service Key Provider for my proxy service which has got a Digital Signature Key.
My problem: I should sign the SOAP message with a certificate which I cannot put in the Service Key Provider because the OSB console sends me an error message:
+/[OSB Security:387079]Failed to bind key-pair credential for service key provider Security/resource/ServiceKeyProvider for digital signature purposes: the certificate does not support digital signatures.+
Earlier we implemented a JAva program which could sign the SOAP message with this certificate but OSB doesn't accept it...
So I have got 2 questions:
Could I use this certificate in OSB (somehow bypass this check OSB of certificate)?
Could I implement the sign of SOAP message not to use Service Key Provider? (maybe implement this thing in Java and add to OSB...?)
Thank You very much!
Viktor