Feb 10, 2012, 3:46 AM
7 Posts

Domino as Webservice Client with SLL certificate

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: Webservice
  • Replies: 1
i consume a web service on domino from an other application server. I do these things in Java.
Now this application server is secured with htttps. 
How can i import the certificate which the domino needs to consume the https secured webservice ? 
I tryed something like this: 
     System.setProperty("javax.net.ssl.trustStore", keyStore);
     System.setProperty("javax.net.ssl.trustStorePassword", password);
            org.apache.axis.client.Service service = new org.apache.axis.client.Service();
            org.apache.axis.client.Call _call = (Call)service.createCall();
Therefore I got acces denied  error.
Is it possible to add a selfsigned certificate to the domino key store? 
Notice Domino is the Client in this scenario.
Mar 12, 2012, 8:01 AM
272 Posts
Re: Domino as Webservice Client with SLL certificate
I think you have to give access in the java.policy-file first.
Try to add the following lines: 
grant {
  permission java.util.PropertyPermission "javax.net.ssl.trustStore", "write";
  permission java.util.PropertyPermission "javax.net.ssl.trustStorePassword", "write";
Hope this helps