I basically need to provide my requests for this service.
I have been given a test JAR
client and two trust.jks
and Client.pfx
, but I have no idea how to use them: I understand that the X509Certificate2 class is somehow involved.
The command line for starting the test client is as follows:
java -Djavax.net.ssl.trustStore=trust.jks -Djavax.net.ssl.trustStorePassword=******** -Djavax.net.ssl.trustStoreType=JKS -Djavax.net.ssl.keyStore=Client.pfx -Djavax.net.ssl.keyStoreType=pkcs12 -Djavax.net.ssl.keyStorePassword=******** -jar TestClient.jar https://myServiceurl
It works, so I can see the service, and the service itself must be configured correctly.
My C # client (oriented to .NET 2.0) uses a regular web link to execute requests:
wsReferenceClient service = new wsReferenceClient();
Server settings must be configured correctly.
I was messing around with X509Certificate2
methods, but I canβt find something that makes sense, so the answer to the question "what have you tried?" the question at the moment is: "I really don't know what to try first."
Any help would be really appreciated.
source share