diff --git a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java
index 6eceb161aae93bf8d6e8561849375ba300c3396f..0ecdf3e75db59a6a10644b4b3a97229f62a6c91e 100644
--- a/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java
+++ b/bindings/java/src/org/sleuthkit/datamodel/SleuthkitCase.java
@@ -113,8 +113,8 @@ public class SleuthkitCase {
 	private static final int IS_REACHABLE_TIMEOUT_MS = 1000;
 	private static final String SQL_ERROR_CONNECTION_GROUP = "08";
     // either one of these mean connection was rejected by Postgres server
-    private static final String SQL_CONNECTION_REJECTED_1 = "08004";
-    private static final String SQL_CONNECTION_REJECTED_2 = "08006";
+    private static final String SQL_CONNECTION_REJECTED = "08004";
+    private static final String UNABLE_TO_VERIFY_SSL = "08006";
 	
 	private static final String SQL_ERROR_AUTHENTICATION_GROUP = "28";
 	private static final String SQL_ERROR_PRIVILEGE_GROUP = "42";
@@ -313,15 +313,15 @@ public static void tryConnect(CaseDbConnectionInfo info) throws TskCoreException
 		} catch (SQLException ex) {
 			String result;
 			String sqlState = ex.getSQLState().toLowerCase();
-			if (sqlState.startsWith(SQL_ERROR_CONNECTION_GROUP)) {
-				
-				if (SQL_CONNECTION_REJECTED_1.equals(ex.getSQLState()) ||
-						SQL_CONNECTION_REJECTED_2.equals(ex.getSQLState())) {
+			if (sqlState.startsWith(SQL_ERROR_CONNECTION_GROUP)) {				
+				if (SQL_CONNECTION_REJECTED.equals(ex.getSQLState())) {
 					if (info.isSslEnabled()) {
 						result = "Server rejected the SSL connection attempt. Check SSL configuration.";
 					} else {
 						result = "Server rejected the connection attempt. Check server configuration.";
 					}					
+				} else if (UNABLE_TO_VERIFY_SSL.equals(ex.getSQLState())) {
+					result = "Unable to verify SSL certificates. Check SSL configuration.";
 				} else {
 					try {
 						if (InetAddress.getByName(info.getHost()).isReachable(IS_REACHABLE_TIMEOUT_MS)) {