java - How do I use our private key to make a web service call? -


we're using java 6, jboss 7.1.1 , spring 3.1.1.release. i'm trying write application request data wsdl on corporate web site , write data local database. our corporate group has asked public key of signed-by-authority client certificate (self-signed fine qa) of machine requesting data, saying use send ssl responses , should use our private key send requests them.

i'm clueless how this. use jax-ws create client wsdl code , communicating web service, adding server's public certificate our trust store. in case, have no idea how tell web service client use requesting machine's private key encrypt data purposes of making wsdl request.

grateful example code or other reference material pull off. -

i have no idea how tell web service client use requesting machine's private key encrypt data purposes of making wsdl request.

that doesn't make sense. there no such thing encrypting private key. decrypt it, public key being, err, public. let hope that's not asking for. it's far clear asking 1 of 2 things:

  1. use client certificate when speaking ssl them. have use keystore containing private key , certificate: jsse rest. or

  2. digitally sign request using private key. there apis this.

get them clarify is.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -