Unable to upload objects to bucket after Oracle JDK patch was applied
Applies to
StorageGrid 11.7.0.4
Oracle JDK
Issue
When trying to upload files to the StorageGRID bucket the application was getting the following errors.
Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty File deleted from Staging Location
Caused by: javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.ssl.Alert.createSSLException(Alert.java:133) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:376) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:319) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:314) ~[?:?] at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1555) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:431) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:388) ~[?:?] at org.apache. http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436) ~[ httpclient-4.5.13.jar!/:4.5.13]