Skip to content

When a certificate is bogus, ZE hangs #3699

@gejohnston

Description

@gejohnston

Describe the bug

When an invalid certificate file is used to make a request of either zosmf or APIML, ZE hangs indefinitely.

To Reproduce

  • Create a certificate file named badCertFile.txt with the contents "badCertFile.txt".
  • Create a certificate key file named badCertKeyFile.txt with the contents "badCertKeyFile.txt".
  • Configure your zowe.config.json file to supply only that certificate authentication.
  • Search for a dataset through an available profile.
  • ZE hangs indefinitely with no message.
  • Setting low values on Request Timeout and Socket Connect Timeout has no effect.
  • To stop the hang-up, I reload the window.

Image

Expected behavior

I would expect to get an error that the certificate is invalid.
FYI - a Zowe CLI command against the same zowe.config.json file gives this result:

zowe zos-files list data-set "SYS1.PARMLIB*" --zosmf-profile zosmf_thru_apiml
Unable to perform this operation due to the following problem.
error:0480006C:PEM routines::no start line

Screenshots

Desktop (please complete the following information):

  • OS:
  • Zowe Explorer Version:
  • (Optional) Zowe CLI Version:
  • (Optional) Do you have secure credentials enabled?
  • (Optional) Are you using a custom credential manager?

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-highProduction outage - this quarter or at least next quarterseverity-highBug for which there may be workaround but limits the usage of the Zowe for major use cases

Type

No type
No fields configured for issues without a type.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions