Technical Notes |
|
This technical note describes how to set up Reflection for the Web to connect over SSL-enabled Telnet to an iSeries or AS/400, using a self-signed certificate.
Note: These general steps can also be used to configure Reflection to utilize 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. We strongly recommend 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 an iSeries or AS/400 over SSL:
Note: Once you have fully tested the SSL/TLS support, you can repeat steps 3 and 4 using a Certificate Authority (CA) signed certificate.
Before creating SSL certificates, the Digital Certificate Manager (Option 34 of 57xx-SS1) utility and the Cryptographic Access Provider (57xx-AC3) must be installed and configured on your AS/400.
Once this is done, follow the steps below to create a server certificate and assign it to a Telnet service before proceeding.
For more information on creating certificates and assigning certificates to applications, see the iSeries Information Center at http://publib.boulder.ibm.com/pubs/html/as400/infocenter.html.
QIBM_QTV_TELNET_SERVER myhost.mycompany.comTo apply the updates to the TCP/IP server, cycle the iSeries or AS/400 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 OS/400 command NETSTAT *CNN to verify that the port is up and listening for the telnet-ssl local port.
Sample display:
| Remote Address |
Remote Port |
Local Port |
Idle Time |
State |
| * |
* |
www |
001:30:33 |
Listen |
| * |
* |
Telnet |
261:48:39 |
Listen |
| * |
* |
telnet -> * |
070:54:37 |
Listen |
* The Local Port entry telnet -> expands to telnet-ssl. Press F14 to view the port number where telnet SSL is running.
Using the Digital Certificate Manager (DCM) create a self-signed certificate and assign it to the Telnet Server. For more information on creating certificates and assigning certificates to applications, see the iSeries Information Center at http://publib.boulder.ibm.com/pubs/html/as400/infocenter.html.
-----BEGIN CERTIFICATE-----MIICYzCCAcygAwIBAgIEPbb1+QQFADB2MQswCQYDVQQGEwJUzETMBEGA1UECBMjA4GA1UEBxMHU2VhdHRsZTEMMAoGA1UEChMDV1JRMQwwCgJDAiBgNVBAMTG1Bvcmt5IENlcnRpZmljYIEF1dGhvcml0eTAeF4MThaFw0xMTAxMDkxOTE4MThaMHYxC-----END CERTIFICATE-----Note: Notepad may automatically add a TXT extension. Check the file to make sure it has a DER extension before proceeding.
Once you have created and saved the self-signed certificate, copy the certificate to the web server's \ReflectionData\certificates folder and manually integrate the certificate with the AWS certificate manager.
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 host, 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 versions earlier than 8.5, on the Administrative WebStation > Settings > Security tab.) In the Enable Client 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.
Import the host certificate on the Administrative WebStation > Security Setup > Certificates tab (in versions earlier than 8.5 on the Administrative WebStation > Settings > Certificates tab) in the Administer Terminal Emulator Applet Trusted Certificate List section. Click "View or modify certificates trusted by the terminal emulator applet."
Import the self-signed certificate here.
For a CA-signed certificate, review the "Trusted Root Certificate Authorities" section on the Administrative WebStation > Settings > 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.
To make an SSL connection using Reflection for the Web, use the Session Manager to create the Reflection terminal sessions you 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 you 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.