uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

13.5 Connecting with an SSL protocol

You can connect a Web resource client to an SSL protocol compliant Web resource.

To access a Web resource by using the SSL protocol, specify values in the properties supported by the JDK and the SSL protocol information. The following table lists and describes the properties used in the connection by the SSL protocol and the contents to be specified.

Table 13-6 Properties used in connections by the SSL protocol

No. Property Specified content
1 javax.net.ssl.trustStore Specifies a truststore.
2 javax.net.ssl.trustStorePassword Specifies the password of the truststore.

Specify these properties as and when required. Note that if you do not specify the truststore, the default value of JDK-installation-directory/lib/security/jssecacerts is used.

For details on the JDK properties, see the JDK documentation. For details on setting the properties and notes, see 10.11(2) How to specify the properties and 10.11(3) Notes on validating a host name.