lizhimins opened a new issue, #698: URL: https://github.com/apache/rocketmq-clients/issues/698
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Programming Language of the Client C++ ### Runtime Platform Environment This issue addresses the problem that arises when a C++ client with SSL enabled encounters an negotiation error due to the server certificate not being issued by a Certificate Authority (CA). The specific error message encountered is as follows: D0309 13:35:25.012029070 1308 security_handshaker.cc:181] Security handshake failed: {"created":"@1709962525.012016359","description":"Custom verification check failed with error: UNAUTHENTICATED: Hostname Verification Check failed.","file":"/home/terrance.lzm/grpc/grpc/src/core/lib/security/security_connector/tls/tls_security_connector.cc","file_line":502} ![image](https://github.com/apache/rocketmq-clients/assets/22487634/7af6d349-4619-4aa8-ba01-110236dd6828) ### RocketMQ Version of the Client/Server RocketMQ C++ client 5.0.1 and Master branch of C++ version (2024.3.11) ### Run or Compiler Version _No response_ ### Describe the Bug SSL negotiation error when C++ client enables SSL with a server certificate issued by a non-CA entity ### Steps to Reproduce Run demo ### What Did You Expect to See? SSL negotiation success ![image](https://github.com/apache/rocketmq-clients/assets/22487634/7556ae8a-cd0c-4c3b-8cbc-ea4d8ccd8990) ### What Did You See Instead? SSL negotiation error ### Additional Context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org