koarz opened a new issue, #3082:
URL: https://github.com/apache/brpc/issues/3082

   **Describe the bug**
   brpc 1.4.0 版本的server端开启mtls验证后还是可以通过http访问
   ```text
   $ curl http://127.0.0.1:5000
       __
      / /_  _________  _____
     / __ \/ ___/ __ \/ ___/
    / /_/ / /  / /_/ / /__
   /_.___/_/  / .___/\___/
             /_/
   
   github : https://github.com/brpc/brpc
   ```
   这个是故意这么设计的吗?
   如果不是在后续版本是否禁止了http访问,没有的话我可以做这件事
   
   
   证明开启mtls
   ```text
   $ curl https://127.0.0.1:5000 --cert cert.crt --key cert.key --cacert ca.crt 
       __
      / /_  _________  _____
     / __ \/ ___/ __ \/ ___/
    / /_/ / /  / /_/ / /__
   /_.___/_/  / .___/\___/
             /_/
   
   github : https://github.com/brpc/brpc
   
   $ curl https://127.0.0.1:5000 --cert cert.crt --key cert.key
   curl: (60) SSL certificate problem: self signed certificate in certificate 
chain
   More details here: https://curl.se/docs/sslcerts.html
   
   curl failed to verify the legitimacy of the server and therefore could not
   establish a secure connection to it. To learn more about this situation and
   how to fix it, please visit the web page mentioned above.
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to