Closed saumilsdk closed 3 years ago
Hi,
How about to skip it. Comment out lines from 389 to 403.
@ty4tw Can you please add config support to skip it with a boolean config "enabledHostVerification=true" by default?
Hi, Skipping the server certificate procedure is for a temporally debug. A permanent solution is using a local host certificate.
I am using MQTT-SN to connect to secured broker using TLS certificates. But server currently doesn't have certificate with its hostname as SN. Is there a way to bypass/ignore below check?
SSL_get_peer_certificate() error: Broker awsmblxXXX dosen't match the host name localhost