01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.4 Problem determination<br />

8.4.1 Tips and utilities<br />

208 <strong>CICS</strong> <strong>Transaction</strong> <strong>Gateway</strong> <strong>V5</strong><br />

In this section, we document information we learned while configuring this<br />

scenario, and further information on problem determination and tracing.<br />

We found the keytool utility useful for verifying that we had specified the correct<br />

password for a keystore and that a keystore was intact. <strong>The</strong> following keytool<br />

command lists the contents of the keystore jsseclientss.jks using the password<br />

default:<br />

keytool -list -keystore jsseclientss.jks -storepass default<br />

If the password was incorrect, the following error is output:<br />

keytool error: java.io.IOException: Keystore was tampered with, or password<br />

was incorrect<br />

If the keystore is corrupt, the following error is output:<br />

keytool error: java.io.IOException: Invalid keystore format<br />

In the following sections, we detail common errors we came across when setting<br />

up JSSE and testing SSL.<br />

CCL6525E Unable to start handler for the ssl: protocol<br />

This error message can appear in the <strong>CICS</strong> TG log for a number of reasons. <strong>The</strong><br />

<strong>CICS</strong> TG will also give the exception message that occurred in the underlying<br />

library. This can be used to determine what went wrong.<br />

► If the keystore password is incorrect, the message will be<br />

[java.io.IOException: Keystore was tampered with, or password was<br />

incorrect]. An incorrect password is the most common cause of this error.<br />

Verify the keystore password using the keytool command.<br />

► <strong>The</strong> message [java.io.IOException: Algorithm IbmX509 not available]<br />

indicates that the JSSE libraries are not installed correctly. This is caused by<br />

not having the correct versions of ibmjsse.jar, ibmjcefw.jar, ibmjceprovider.jar<br />

in the JDK’s ext directory.<br />

► If the message CCL8403I SSLight libraries selected for use is output<br />

earlier in the <strong>CICS</strong> TG log, and a JSSE keystore is being used, the JSSE<br />

libraries are not installed in the JDK used by the <strong>CICS</strong> TG. <strong>The</strong> CCL6525E<br />

message will be followed by [java.io.IOException: Keystore was tampered<br />

with, or password was incorrect].

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!