the trustAnchors parameter must be non-empty (centos 6.8 + tomcat 7 + openjdk 1.8)


ERROR on centos 6.8 + tomcat 7 + openjdk 1.8

com.amazonaws.AmazonClientException: Unable to execute HTTP request: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

 

SOLUTION:

update-ca-trust enable

update-ca-trust extract

(install_path)/catalina.sh restart

 

 

This worked for me.

I would use the oracle jdk if it has longer EOL…