Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I am currently calling a webservice using Curl command from unix .

I have a requirement that I have to dynamically message sign the soap request every time I make a call to the webservice using my JKS certificate . My private key is present in my JKS file kept at the same location.

How can I perform this action in Unix ? Do I need to do it through Jython , if yes? Can you please give me some example.

share|improve this question
    
What is Data Power webservice, what is a JKS certificate? Why would you have to program this in Jython? I have never, in 30+ years, had the need for using Java or Jython to do anything on a Unix machine. –  Anthon Mar 2 at 23:14
    
@Anthon Data power is an external webservice . JKS is a java key store that contains my private and public SSL key . I also have the corresponding .pem and .cer files (Which again are SSL certificates). I might be wrong in mentioning Jython . I actually need to sign the SOAP request message with which I am calling the external webservice . And to sign the soap message I need to sign the message using the SSL keys . Please let me know if this clarifies the question . –  Ishu Gupta Mar 2 at 23:19
    
Data power is actually a technology ... with which the webservice is built. It doesnt affect the webservice will behave.. I could have skipped it out as well. –  Ishu Gupta Mar 2 at 23:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.