Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

If the SSL Certificate is missing from trustStore of Java, Import-Export Utility can't establish a connection to the Jira instance.


       


Also, in Import-Export Utility logs, the following error will be generated.

Error in authenticationjavax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Solution: SSL certificate related issues are not within QMetry Support scope, however, adding SSL certificate in trustStore of Java (on the machine which the import/export utility is being run) will resolve this issue. Generally, Network/IT Infra team knows how to resolve the certification issue. We request the user to contact their IT Infra team to resolve this issue.

Additionally, below are the steps to add the SSL certificate in JVM:

  • You need to add the certificate to the trustStore file of the used JVM located at - 

    %JAVA_HOME%\lib\security\cacerts
    .

  • First, you can check if your certificate is already in the trustStore by running the following command: 

    keytool -list -keystore "%JAVA_HOME%/jre/lib/security/cacerts

  • If your certificate is missing you can get it by downloading it from your Jira instance URL and add it to the trustStore with the following command:

    keytool -import -noprompt -trustcacerts -alias <AliasName> -file   <certificate> -keystore <KeystoreFile> -storepass <Password>



  • No labels