Amazon 500150 Error setting closing connection General SSLEngine
<p>While connecting to <strong>Amazon RedShift</strong>, I getting the below error:</p>

<pre><code>2016-04-14 13:49:30 ERROR SQL Exception when connecting [Amazon](500150) Error setting/closing connection: General SSLEngine problem.
java.sql.SQLException: [Amazon](500150) Error setting/closing connection: General SSLEngine problem.
    at workbench.db.DbDriver.connect(DbDriver.java:546)
    at workbench.db.ConnectionMgr.connect(ConnectionMgr.java:244)
    at workbench.db.ConnectionMgr.getConnection(ConnectionMgr.java:172)
    at workbench.gui.components.ConnectionSelector.doConnect(ConnectionSelector.java:227)
    at workbench.gui.components.ConnectionSelector$1.run(ConnectionSelector.java:131)
Caused by: java.sql.SQLException: [Amazon](500150) Error setting/closing connection: General SSLEngine problem.
    at com.amazon.redshift.client.PGClient.&lt;init&gt;(Unknown Source)
    at com.amazon.redshift.core.PGJDBCConnection.connect(Unknown Source)
    at com.amazon.jdbc.common.BaseConnectionFactory.doConnect(Unknown Source)
    at com.amazon.jdbc.common.AbstractDriver.connect(Unknown Source)
    at workbench.db.DbDriver.connect(DbDriver.java:513)
    at workbench.db.ConnectionMgr.connect(ConnectionMgr.java:244)
    at workbench.db.ConnectionMgr.getConnection(ConnectionMgr.java:172)
    at workbench.gui.components.ConnectionSelector.doConnect(ConnectionSelector.java:227)
</code></pre>

<p>I am using SQL Workbench J to connect to the database system. The strangeness here it that the connection was working fine two days ago. This problem appeared from nowhere. Any idea??</p>

<p>We are following the exact steps written in the setup guide to add certificates to Java.</p>

<p><a href="https://community.boomi.com/docs/DOC-2381" rel="noreferrer">https://community.boomi.com/docs/DOC-2381</a></p>

<p>Am I missing anything here?</p>

<p><strong>UPDATE</strong></p>

<p>My Redshift database is SSL configured. We use SQL Workbench J (<a href="http://www.sql-workbench.net/" rel="noreferrer">http://www.sql-workbench.net/</a>) client to connect to that database. The issue now is that everytime we try to connect, we are getting the error I mentioned.</p>

<p>Below is our URL format:</p>

<pre><code>jdbc:redshift://hostname:5439/dbname?ssl=true&amp;sslmode=verify-full
</code></pre>