Added logging for failed mqtt ssl certificates

This commit is contained in:
dashevchenko 2023-04-06 18:08:06 +03:00
parent 87e48d9803
commit c4a5569650

View File

@ -177,6 +177,7 @@ public class MqttSslHandlerProvider {
}
}
if (credentialsBody == null) {
log.debug("Failed to find credentials for device certificate chain: {}", (Object) chain);
throw new CertificateException("Invalid Device Certificate");
}
}