Skip to content

Commit

Permalink
Fix: Make ZWEAM511E message more accurate (#1974)
Browse files Browse the repository at this point in the history
* Make zweam511e message more generic and therefore more accurate

Signed-off-by: Carson Cook <[email protected]>

* Add further possible actions

Signed-off-by: Carson Cook <[email protected]>
  • Loading branch information
CarsonCook authored Jan 4, 2022
1 parent ba785b5 commit dc26114
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions common-service-core/src/main/resources/core-log-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,19 @@ messages:
- key: org.zowe.apiml.common.tlsError
number: ZWEAM511
type: ERROR
text: "The certificate of the service accessed using URL '%s' is not trusted by the API Gateway: %s"
reason: "The Gateway does not trust the requested service and refuses to communicate with it."
text: "There was a TLS request error accessing the URL '%s': '%s'"
reason: "The Gateway refuses to communicate with the requested service."
action: "Possible actions regarding to message content:\n
- Message: The certificate is not trusted by the API Gateway.\n
Action: Verify trust of the certificate is the issue by disabling certificate verification and retry the request.\n
- Message: Certificate does not match any of the subject alternative names.\n
Action: Verify that the hostname which the certificate is issued for matches the hostname of the service. \n
Action: Verify that the hostname which the certificate is issued for matches the hostname of the service.\n
- Message: Unable to find the valid certification path to the requested target.\n
Action: Import the root CA that issued services's certificate to API Gateway truststore "
Action: Import the root CA that issued services' certificate to API Gateway truststore.\n
- Message: Verify the requested service supports TLS.\n
Action: Ensure the requested service is running with TLS enabled.\n
- Message: Review the APIML debug log for more information.\n
Action: Enable APIML debug mode and retry the request, then review the APIML log for TLS errors."

# Various messages
# 600-699
Expand Down

0 comments on commit dc26114

Please sign in to comment.