LDAPサーバーへの接続時、`TLS: hostname does not match CN in peer certificate` というエラーが出た。回避策として適切でない(セキュリティを下げる)対応はどれか。

該当するのはTLS_REQCERT allow または never に設定する