Why image uploading fails with OpenJDK on Ubuntu?

When uploading to Cloudinary using the Java library, you might get the following exception:

Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated 

There seems to be a conflict between the SSL layer of Amazon Web Services (AWS) used by Cloudinary's upload API and OpenJDK on Ubuntu.

You can find more details in the links below about this issue and a workaround for allowing upload calls to pass successfully:

https://forums.aws.amazon.com/thread.jspa?messageID=473354
http://shickys.blogspot.de/2012/11/addressing-openjdk-bug-with-ssl-on.html

(Marc Knaup - Thanks for the tip)

 

Have more questions? Submit a request

Comments

Powered by Zendesk