Troubleshooting
Problem
In IBM Developer for z/OS, the Host Connection Emulator fails to connect to the host when a secured connection is configured.
Symptom
Host connection emulator shows an error such as:
Connection to host XYZ.IBM.COM failed.

Cause
Possible causes are:
- "SSL Enabled" is not checked on the configuration of the Host Connection Emulator while the host port requires secured communication.
- Incorrect security protocol configured, like SSL instead of TLS
- Missing certificate in the keystore selected, either from the Remote Systems Explorer or in MSCAPI
- Incompatible cipher suite used
Environment
z/os
Diagnosing The Problem
1) Enable Client JSSE traces
Follow the MustGather document from the "Related Information" section to enable the client console log and reveal the exact problem.
2) Check for possible missing certificates
| Client console log |
|---|
|
|
3) Check the log for possible cipher suite incompatibility
Client and host needs to have at least one cipher suite in common.
| Client console log |
|---|
|
| Host syslog |
|---|
|
For this last example, z/OS® documentation shows that return code 402 means "No SSL cipher specifications".
Resolving The Problem
Missing certificates
To add missing certificates depending on what type of keystore is being used:
| Configuration | Traces | Location |
|---|---|---|
|
Default keystore
![]() |
|
File path is indicated on the traces and its content can be seen on the IDz preferences, menu
Window > Preferences > Remote Systems > SSL/TLS
![]() |
|
Custom Certificate Store
![]() |
|
File path is indicated on the traces and its content can be seen in
<IDz path>\jdk\jre\bin\ikeyman.exe
![]() |
|
MSCAPI
![]() |
|
Certificates are stored under Personal in the Windows MY keystore.
It can be checked using command:
![]() ![]() |
Note: The Host Connection Emulator keeps previous connection attempts in memory so you can see a combination of these traces in the log.
For example, if you connect with MSCAPI disabled first and enabled after then default and MSCAPI traces can be found in the log.
Restart IDz to see only the latest configuration.
Incompatible cipher suite
You can add a cipher suite on the Host Connection Emulator configuration by clicking the button "Use Custom Cipher".

The new cipher suite appears in the console log:
|
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"ARM Category":[{"code":"a8m0z00000009P1AAI","label":"IBM Developer for Z\/OS-\u003EHost Connect emulator (HCE) (deprecated)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Product Synonym
IDz
Was this topic helpful?
Document Information
Modified date:
03 December 2023
UID
ibm16353425






