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.

Tip: We found it difficult to tell the difference between the <strong>CICS</strong> TG version of<br />

iKeyman and the JSSE version. <strong>The</strong> only differences we could spot were the<br />

blue icon on the toolbar of the JSSE iKeyman, which allowed a new provider to<br />

be added, and the JSSE version did not have a Recreate Request button on<br />

the Personal Certificates window.<br />

8.2.3 Configuring the <strong>CICS</strong> TG for SSL<br />

We had to configure our <strong>CICS</strong> TG to enable System SSL and JSSE SSL.<br />

System SSL configuration<br />

We performed the following steps to configure our <strong>CICS</strong> TG to be able to use our<br />

SystemSSL server certificate:<br />

1. When using System SSL, binaries and data sets for the product code must be<br />

marked as program controlled, as must any key database file (.kdb). We<br />

performed this using the following extattr commands:<br />

extattr +p /usr/lpp/gskssl/lib/*<br />

extattr +p /usr/lpp/gskssl/bin/*<br />

extattr +p /web/scsctg5/systemssl.kdb<br />

Before issuing extattr commands, we required Resource Access Control<br />

Facility (RACF) access to the BPX.FILEATTR.PROGCTL profile. This was<br />

obtained by using the following command:<br />

PERMIT BPX.FILEATTR.PROGCTL CLASS(FACILITY) ID(<strong>CICS</strong>RS3) ACCESS(READ)<br />

SETROPTS RACLIST(FACILITY) REFRESH<br />

We verified that the files were program controlled using the ls -E command<br />

from OMVS. <strong>The</strong> second set of attributes are the extended ones. <strong>The</strong> second<br />

column of these should contain the character “p”.<br />

2. We modified our <strong>CICS</strong> TG configuration file (/ctg/scsctg5/CTG.INI) to activate<br />

the SystemSSL protocol handler to use our SystemSSL server certificate, as<br />

shown in Example 8-9.<br />

Example 8-9 Enabling the SystemSSL protocol handler<br />

protocol@systemssl_ssl.handler=com.ibm.ctg.server.GskSslHandler<br />

protocol@systemssl_ssl.parameters=port=8052;sotimeout=1000;\<br />

connecttimeout=2000;idletimeout=600000;pingfrequency=60000;\<br />

keyring=/ctg/scsctg5/systemssl.kdb;keyringpw=default;clientauth=off;<br />

Chapter 8. SSL connections to the <strong>Gateway</strong> daemon on z/OS 201

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

Saved successfully!

Ooh no, something went wrong!