The code is calling a new webservice. It has godaddy as its ca signer. It was getting the error before I added those java options. Those java options were my attempt to resolve it. Ive also tried adding the godaddy ca certs to java's cacert file without those java options. Same result.
Shawn Beard Sr. Systems Engineer BTS +1-515-564-2528 -----Original Message----- From: calder <calder....@gmail.com> Sent: Friday, June 26, 2020 11:45 AM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: SSL error [EXTERNAL] ** CAUTION: External message In Fri, Jun 26, 2020, 10:37 Beard, Shawn M. <sbe...@wrberkley.com.invalid> wrote: > We are running tomcat-7.0.52(old I know) and java 1.7.0_80. > yea, BOTH are very old. When the app makes calls to an external webservice. It keeps throwing this > error: > > javax.net.ssl.SSLException : javax.net.ssl.SSLException: > java.lang.RuntimeException: Unexpected error: > java.security.InvalidAlgorithmParameterException: the trustAnchors > parameter must be non-empty > [1] > I have this in the java options and have confirmed the proper CA certs > for this webservice is in the truststore. Any ideas? > -Djavax.net.ssl.trustStore=/path/to/truststore/tomcatTrustStore.jks > -Djavax.net.ssl.trustStorePassword=######## > -Djavax.net.ssl.trustStoreType=jks > Did this runtime EVER work? If yes, "what" changed? [1] https://urldefense.com/v3/__https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty__;!!Li8W9_Um1Taa!uk48yx6ZQNHjmcqPmjBlJDFCcCWu6HMZu3OI_Yau1oJ4CBGoaFzI0pfKTaIrqOGk$ CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain private, privileged and confidential information belonging to the sender. The information therein is solely for the use of the addressee. If your receipt of this transmission has occurred as the result of an error, please immediately notify us so we can arrange for the return of the documents. In such circumstances, you are advised that you may not disclose, copy, distribute or take any other action in reliance on the information transmitted.