MB SSL
MB SSL
MB SSL
WebSphere
Agenda
SSL Basics HTTP Basics HTTPRequest node HTTPInput node & HTTPReply node HTTPS Basics Certificate management tools Configuration of HTTPRequest nodes Configuration of HTTPInput nodes and HTTPReply nodes Troubleshooting tips
SSL Basics
Protocol developed by Netscape to manage the security of message transmission on the Internet Creates a secure connection between a client and a server, over which any amount of data can be sent securely Useful terms KeyStore File or Database that stores the keys and digital certificates Example cacerts file located in - C:\ProgramFiles\IBM\MQSI\6.0\jre\lib\security Digital Certificates Provides security against impersonation by binding the key to its owner Contains Public key + Information about the Owner and/or CA Example - verisignserverca CipherSuites Set of algorithms providing means of Encryption, Hash (MAC) and Key exchanges Example DES_SHA_EXPORT
SSL Basics
HTTP Basics
Communications protocol used to transfer information on the World Wide web Useful questions What is a Web service? A standard way to allow functions/methods to be invoked using HTTP Used for program to program interactions Uses the XML, SOAP, WSDL and UDDI open standards over an Internet backbone How does WebSphere Message Broker fit in? Convenient central point for Web services brokering eg. Transform WSDL definitions or act as a SOAP intermediary etc. Message Flow can be a requester (Client) calls out to a Web Service Message Flow can be a Service provider lets Web Service clients to invoke it or other flows Uses HTTPInput node, HTTPReply node, HTTPRequest node
5
MQInput node
HTTPRequest node
MQOutput node
Service Requester
SYSTEM.BROKER.WS.INPUT
SYSTEM.BROKER.WS.ACK
SYSTEM.BROKER.WS.REPLY
HTTPInput node
HTTPReply node
Uses HTTPInput node to receive Web service requests from clients at a certain port Uses HTTPReply node to send replies back to the clients Uses Internal Tomcat servlet engine running as biphttplistener process
7
10
Click Add
12
13
14
15
16
17
18
19
20
22
23
24
Certificates can be extracted in Base64 encoded ASCII data (.arm) or Binary DER data (.der)
25
26
27
Test the configuration Start a web browser and type the URL: https://localhost:7083/<Path suffix> Accept the certificate when the pop up Window appears and it shows XML document must have a top level element. Error processing resource https://localhost:7083/<Path suffix>
29
30
Tracing
When Broker is the Client (with HTTPRequest node) Collect EG service trace Collect JSSE trace When Broker is the server (with HTTPInput node) Collect the EG service trace Collect the biphttplistener trace
31
Additional Resources
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools. mft.doc/ap12234_.htm http://dev2dev.bea.com/pub/a/2006/08/pfx-pem-certificate-formats.html http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzas. doc/sy11560_.htm http://www-306.ibm.com/software/integration/wbimessagebroker/support/ Security Guide - <Install dir>\jre\docs\sdkGuides\securityguide.win32.htm How to setup SSL for the HTTP nodes WebSphere Message Broker V6 Vicente Suarez SSL Basics WSTE Russ Stancliffe SSL Everett Turner
32
33