diff --git a/lib/SAML2/SOAPClient.php b/lib/SAML2/SOAPClient.php
index 15b0690a915880774fb504df095b0ecd2e2b6330..0ba6ebea8fd984aa710b0ecab120ba9d411d1df8 100644
--- a/lib/SAML2/SOAPClient.php
+++ b/lib/SAML2/SOAPClient.php
@@ -189,7 +189,8 @@ class SAML2_SOAPClient {
 		}
 
 		if ($keyInfo['key'] !== $data) {
-			throw new Exception('Key on SSL connection did not match key we validated against.');
+			SimpleSAML_Logger::debug('Key on SSL connection did not match key we validated against.');
+			return FALSE;
 		}
 
 		SimpleSAML_Logger::debug('Message validated based on SSL certificate.');