Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Outgoing web service requests are failing with "org.apache.commons.httpclient.HttpException: No issuer certificate found <endpoint FQDN or certificate subject>" error against an endpoint which is configured with self-signed or expired certificate. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Outgoing web service requests are failing with "org.apache.commons.httpclient.HttpException: No issuer certificate found <endpoint FQDN or certificate subject>" error against an endpoint which is configured with self-signed or expired certificate.
KB0760274

Outgoing web service requests are failing with "org.apache.commons.httpclient.HttpException: No issuer certificate found <endpoint FQDN or certificate subject>" error against an endpoint which is configured with self-signed or expired certificate.


8451 Views Last updated : Apr 8, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

When you're doing tests against a secure endpoint (https), which is configured for a self-signed, expired, or issuer-broken certificate, your requests might fail even if you have set the "com.glide.communications.trustmanager_trust_all" system property to "true" and the "com.glide.communications.httpclient.verify_hostname" system property to "false" on a New York instance.

This might be valid for both SOAP, REST, and even any other kind of connection which would use secure HTTP (HTTPS) protocol.

Release

New York and onwards.

Cause

There is a recent change on New York release for a fix to a known problem about outgoing HTTP requests, and this change is causing the previously configured scenarios to fail.


Previously, when the "com.glide.communications.httpclient.verify_hostname" system property was set to "false", it was implicitly evaluating the value of "com.glide.communications.httpclient.verify_revoked_certificate" system property value as "false", but with the recent change on the New York release, it needs to be explicitly set.

Resolution

In addition to setting "com.glide.communications.httpclient.verify_hostname" system property to "false", and setting the "com.glide.communications.trustmanager_trust_all" system property to "true", please create/set the value of "com.glide.communications.httpclient.verify_revoked_certificate" system property (type: true | false) to "false".

Caution: Trusting all certificates and accepting revoked/expired certificates is a dangerous and risky operation, and shouldn't be carried out on production instances. If outgoing secure HTTP connections are an issue on your production instance, then the ultimate solution is to install a valid, and trusted certificate on the external endpoints, which might be managed by a different administrator.

Related Links

Additional validation against the endpoint can also be performed by running the following command where curl command is installed. If the below error message is observed, then SSL handshake can not be completed:



$ curl --verbose https://<REPLACE_WITH_FQDN_OF_ENDPOINT>/


* Trying ...
* TCP_NODELAY set
* Connected to <FQDN_OF_ENDPOINT> (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to <FQDN_OF_ENDPOINT>:443 
* stopped the pause stream!
* Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to <FQDN_OF_ENDPOINT>:443

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.