Answered

Unknown error displayed for "File Upload" steps after upgrade to 8.11 - Local Run only

When running tests locally, the file_upload fail with below message. The same step works fine when run on cloud.

0
3 comments
Avatar
Hasib Rostaiee

This turned to be a certification issue which NHLBI didn't include correct file in their patching. Issue is discussed with SysOps at NHLBI.

0
Comment actions Permalink
Avatar
Hasib Rostaiee

The issue is fixed by NHLBI

1
Comment actions Permalink
Avatar
Rex Feizi

When accessing the site with https using Get_Url you may run into an error similar to this: 

sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target

This means Java is trying to access a URL but doesn't have the correct or up to date certificate. Do the following steps if you have access: 

 

  1. Obtain the certificate from the application owners. It could be your IT department or app developers. 
  2. Add the certificate for the target application to the truststore file of the JVM located at %JAVA_HOME%\lib\security\cacerts.
  3. You can always check if the certificate is already in the trust store by running the following command: keytool -list -keystore "%JAVA_HOME%/jre/lib/security/cacerts"
  4. If the certificate is not showing, download it from your browser and add it to the trust store:
    keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
  5. Check the trus store to see your certitifcate: keytool -list -keystore "%JAVA_HOME%/jre/lib/security/cacerts"

Here is a reference for trust store and certificates in Oracle JDK: https://docs.oracle.com/javase/tutorial/security/toolsign/rstep2.html

 

 

 

 

0
Comment actions Permalink

Please sign in to leave a comment.