Technical Notes |
|
This technical note describes how to set up Reflection for the Web to connect over SSL-enabled Telnet to z/OS using a self-signed certificate.
Note: These general steps can also be used to configure Reflection to use a registered digital signature and key pair (from a certifying authority); however, it is recommended that you configure and test your SSL environment using a self-signed certificate before implementing a production certificate from a certificate authority.
Important: The security for Reflection depends upon the security of the operating system, host, and network environment. Attachmate strongly recommends that you evaluate and implement all relevant security service packs, updates, and patches recommended by your operating system, host, and network manufacturers. The recommendations in this note are general guidelines and should be evaluated in the context of your own computing needs and environment.
There are four steps involved in setting up Reflection for the Web to connect to z/OS over SSL:
Note: Once you have fully tested the SSL/TLS support, you can configure Reflection to use a Certificate Authority (CA) signed certificate.
The working TCP/IP profile dataset on z/OS must be configured to support SSL connections. This process varies depending on the operating system and version. For detailed setup instructions, refer to IBM publications " z/OS Communications Server IP Configuration Reference" and “z/OS Communications Server IP Configuration Guide” at http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi.
During the configuration process you must define a secure port and key database reference for the TCP/IP SSL connection, and add an entry to the VTAM parameters.
The following is a generic example of a TCPIP.PROFILE.TCPIP dataset (use this example only as a guide when configuring your dataset).
TELNETPARMS KEYRING HFS /u/keydb/os390r10.kdb ; Key database ; reference for the TCP/IP SSL connection. SECUREPORT 23001 ; Secure port number CONNTYPE SECURE SSLTIMEOUT 30 TIMEMARK 28800 WLMCLUSTERNAME TN3270E ENDWLMCLUSTERNAMEENDTELNETPARMSBEGINVTAMPORT 23 23001 ; Add entry for secure port. TELNETDEVICE 3278-3-E NSX32703 TELNETDEVICE 3279-3-E NSX32703 . . .ENDVTAM |
To engage the updates to the TCP/IP profile dataset, cycle the z/OS TCP/IP stack. Once you have done this, you will be able to see that the port you have configured for the secure connections is listening.
Execute the Display Telnet PROFILE command to verify that the port is up and attached to the proper key database.
Sample display:
----- PORT: 23 ACTIVE BASICCURR A 1 --L-----W------B 20 21----- PORT: 3270 ACTIVE BASICCURR A 2 --L-----W------B 20 21----- PORT: 23001 ACTIVE SECURECURR A 0 --L-----W------S 20 21TOTAL 3KEYRING HFS /u/keydb/myhost.kdb (g)For further details regarding this topic, see IBM publication, "z/OS Communications Server IP System Administrator's Commands"
Security certificates (also known as server certificates, site certificates, digital certificates, or SSL certificates) are used as part of the authentication process. Certificates are either self-signed or signed by a Certificate Authority (CA).
There are numerous ways to create a self-signed server certificate, such as using the RACDCERT or RACF commands, or the Gskkyman utility (which runs under UNIX System Services). Refer to IBM’s documentation for information on using these commands or utilities. (http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi)
Once you have created the self-signed server certificate, save the certificate to a file, and transfer the file to the Reflection server's /Reflection Data/Certificates folder.
Using an FTP client (such as the Attachmate or Microsoft Windows FTP clients), transfer the self-signed certificate file to the \ReflectionData\certificates folder.
When using SSL direct to the host, the host certificate is used to authenticate the host to the emulator applet.
The host certificate is stored in the Reflection management server’s trusted certificates store. The emulator applet retrieves the host certificate from the management server and caches it locally. The emulator applet authenticates the host using this certificate.
If the SSL enabled host is being used only with Reflection for the Web emulator clients, then a self-signed host server certificate is sufficient. The emulator applet uses a trusted certificate store that is deployed centrally from the management server, so it is simple to deploy the host’s certificate to the trusted certificates store of all the clients.
However, if the host is being used with Windows-based Reflection clients, such as Reflection for IBM or Reflection for UNIX and OpenVMS, then a CA-signed certificate should be installed on the host. This avoids untrusted certificate errors when the Windows-based Reflection clients attempt to connect to the host.
Whether you use a CA-signed or a self-signed certificate on the proxy server, for maximum security, the option to verify server identity should be enabled in the Administrative WebStation. This option (which is enabled by default) causes the emulator applet to verify the common name on the host certificate. Check this setting on the Administrative WebStation > Security Setup > Security tab. In the Enable Verification of Server Identity section, the "Enable server identity verification" check box should be selected.
To import a self-signed or CA-signed certificate and private key to a host, use the tools specific for that host.
Follow these steps to import a self-signed certificate:
In the Administer Terminal Emulator Applet Trusted Certificate List section, click "View or modify certificates trusted by the terminal emulator applet."
For a CA-signed certificate, review the "Trusted Root Certificate Authorities" section on Administrative WebStation > Security Setup > Certificates tab. In the Administer Terminal Emulator Applet Trusted Certificate List section, click "View or modify certificates trusted by the terminal emulator applet" to confirm that the CA is listed. If not, you can import the CA certificate to the list of trusted certificates.
Client certificates are not required to establish SSL connections using Reflection for IBM; however, if client certificates are needed in your network environment, see Technical Note 1766. This document describes how to create and import a client certificate for use connecting to z/OS using SSL and Reflection for the Web.
The Reflection terminal sessions you deploy to end users are created using the Session Manager tool, one of several tools included in the Administrative WebStation.
Follow these steps to create secure SSL terminal sessions that you can deploy to end users.
Note: In versions earlier than 9.5, also configure End user menu level at this point. (End user menu level is used to determine which set of menus and commands are available to end users.) Beginning in version 9.5, use the User Interface Profiler (or Profiler), which is available from the Administration menu within the emulator, to configure menu levels.
Reflection for the Web 2008:
Important: Refer to the host using the same identification used in the certificate common name. If the certificate uses the fully qualified DNS host name, enter the fully qualified DNS host name here (for example, hostname.domain.com:<port #>). If the certificate uses the host's short name or IP address, use that identifier.
Reflection for the Web 8.0-9.x:
Important: Refer to the host using the same identification used in the certificate common name. If the certificate uses the fully qualified DNS host name, enter the fully qualified DNS host name here (for example, hostname.domain.com). If the certificate uses the host's short name or IP address, use that identifier.
If you see the host prompt, proceed to step 9.
If you receive the errors "Creation of Master Secret Failed" and "Connection to host failed," click OK. This error may indicate that your java clients do not have a high encryption security pack installed.
To bypass this problem, do one of the following:
Install the high encryption security pack: By default, the Sun Java Plug-in does not support 256-bit AES. To enable your workstations to support 256-bit AES connections, download and install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files (5.0) on each workstation that uses the Sun Java Plug-in and Reflection for the Web. JCE can be downloaded from http://java.sun.com/j2se/1.5.0/download.jsp. For further details, see the JCE readme.txt file.
Disable AES on your host: Refer to your host documentation for information about disabling AES on your host.
Disable AES in Reflection for the Web: To disable AES in Reflection for the Web, follow these steps:
| Field |
Value |
| Parameter |
sslAES256 |
| Value |
False |
When you are done configuring your session, click File > Exit. When prompted to change your changes, click Save/Exit.
Follow the steps below to deploy the new terminal session to users or groups.
To view the new session, launch a browser, access the Reflection for the Web Links List, and select your new session.
Once you have successfully connected, a key icon is displayed in the OIA line indicating that your connection is secure.