diff --git a/core/src/main/java/lucee/runtime/net/http/CertificateInstaller.java b/core/src/main/java/lucee/runtime/net/http/CertificateInstaller.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/lucee/runtime/net/http/CertificateInstaller.java
+++ b/core/src/main/java/lucee/runtime/net/http/CertificateInstaller.java
@@ -76,10 +76,16 @@ public class CertificateInstaller {
 		tm = new SavingTrustManager(defaultTrustManager);
 		context.init(null, new TrustManager[] { tm }, null);
 
-		checkCertificate();
-
-		if (tm.chain == null) throw new IOException("Could not obtain server certificate chain");
-
+		IOException e = checkCertificate();
+		
+		if (tm.chain == null) {
+			if (e == null) {
+				throw new IOException("Could not obtain server certificate chain");
+			}
+			else {
+				throw new IOException("Could not obtain server certificate chain, [ "+ e +" ]");
+			}
+		}
 	}
 
 	public void installAll() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException {
Added a fix to improve the error message in LDEV-<I>