This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 10, 2012, 8: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
Hi,
 
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();
            _call.setTargetEndpointAddress("http://myServer:8080/My/ServiceEndPoint/");
            _call.setUsername(appSet.aeu_getEASUsername());
            _call.setPassword(appSet.aeu_getEASPassword());
 
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, 12:01 PM
272 Posts
Re: Domino as Webservice Client with SLL certificate
 Hi,
 
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
Sven 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal