---
title: "How to deal with HTTPS and SSL problems"
canonical: "https://support.appfire.com/space/SUPPORT/89147258/How%20to%20deal%20with%20HTTPS%20and%20SSL%20problems"
format: markdown
---
# Description

Generally speaking, the CLI works with standard https sites like Cloud. However, you may have an internal site or other that runs into various HTTPS/SSL problems. The most common cause is using **self-signed** certificates. They can be solved, but, each requires some problem determination and finding the solution that works for you. The CLI is implemented in Java and some of the resolutions have to do with telling Java how to work with the security involved with the system you are trying to access in a proper way. This describes some of the common problem symptoms and links to help resolve. Often using Google with your error is the best way to find some help in this area.

# Links

- [SSL Exceptions while using CLI add-ons](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89146935)
- [Use Jira CLI with SSL](https://answers.atlassian.com/questions/291270/use-jira-cli-with-ssl?page=1#291685)
- [HTTPS and SSL related issues for CLI products](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89147481)
- [Adding self-signed https certificates to Java keystore](https://www.chrissearle.org/2007/10/25/Adding_self-signed_https_certificates_to_java_keystore/)
- [How to properly import a self-signed certificate into Java keystore that is available to all Java applications by default?](https://stackoverflow.com/questions/11617210/how-to-properly-import-a-selfsigned-certificate-into-java-keystore-that-is-avail)

# Common problems


> Macro (table-plus)
> 
> | **Symptom or Situation** | **References and Help** |
> | --- | --- |
> | [javax.net](http://javax.net).ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:<br>sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | - [SSL Exceptions while using CLI add-ons](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89146935)
> - > Macro (jira) |
> | Using self-signed certificates | - [SSL Exceptions while using CLI add-ons](https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89146935)
> - [Use Jira CLI with SSL](https://answers.atlassian.com/questions/291270/use-jira-cli-with-ssl?page=1#291685) |
> | SSLv3 related | - [https://appfire.atlassian.net/browse/ACLI-188](https://appfire.atlassian.net/browse/ACLI-188)ACLI-188 |
> | [javax.net](http://javax.net/).ssl.SSLProtocolException: handshake alert:  unrecognized_name | - Resolution (from user):
>   - This was an Apache configuration problem per [https://community.qualys.com/thread/13532](https://community.qualys.com/thread/13532).
>   - We needed to add a **ServerName** setting. |


# Still having problems?

- [Open a support ticket with us](https://bobswift.atlassian.net/servicedesk)