+

Search Tips   |   Advanced Search

 

Configure HTTP outbound transport-level security using Java properties

 

This topic explains how to configure the HTTP outbound transport level security for a Web service using Java properties

This task is one of three ways that you can configure HTTP outbound transport-level security for a Web service that is acting as a client to another Web service. You can also configure the HTTP outbound transport level security with the console or an assembly tool. However, you can also use this task to configure the HTTP outbound transport-level security for a Web service client.

 

Overview

If you choose to configure the HTTP outbound transport-level security with the console or an assembly tool, the Web services security binding information is modified.

If you configure the HTTP outbound transport-level security using Java properties, the properties are configured as system properties. However, the configuration specified in the binding takes precedence over the Java properties.

You can configure the HTTP outbound transport-level security using WebSphere SSL properties or JSSE SSL properties. However, the WebSphere SSL properties take precedence over the JSSE SSL properties.

Configure the HTTP outbound transport-level security with the following steps provided in this task section.

 

Procedure

  1. Create a property file that includes the following properties:

    com.ibm.ssl.protocol com.ibm.ssl.keyStoreType com.ibm.ssl.keyStore com.ibm.ssl.keyStorePassword com.ibm.ssl.trustStoreType com.ibm.ssl.trustStore com.ibm.ssl.trustStorePassword
    

  2. Set the com.ibm.webservices.sslConfigURL Java system property to the absolute path of the created property file. If no WebSphere SSL properties are defined, the JSSE SSL properties are used. Set the JSSE SSL properties as JVM custom properties. See Secure transports with JSSE and JCE programming interfaces for more information about setting the JSSE SSL properties.

 

Results

You have configured the HTTP outbound transport-level security for a Web service acting as a client to another Web service.



Configure Federal Information Processing Standard Java Secure Socket Extension files
Securing Web services for V5.x applications based on WS-Security
Securing Web services applications using JAX-RPC at the message level
Authenticating Web services clients using HTTP basic authentication
Securing Web services applications at the transport level

 

Related Reference


HTTP SSL Configuration collection