开发者

Connecting to MySQL with .NET Connector and SSL. Does it need a client certificate?

开发者 https://www.devze.com 2023-01-05 21:15 出处:网络
I am considering establishing an encrypted connection from a .NET app toward a remote MySQL database. According to the manual, there is a SSL Mode option to do that. The example provided in the tutori

I am considering establishing an encrypted connection from a .NET app toward a remote MySQL database. According to the manual, there is a SSL Mode option to do that. The example provided in the tutorial re开发者_StackOverflow社区ly on a client X509 certificate. Is the client certificate absolutely needed, or can I just connect with SSL Mode=Required and a login/password in the connection string?


SSL always implies having certificate at least on one side of the connection. If your set-up is not critical you can use either self signed certificate or better get one for free from cacert.org

0

精彩评论

暂无评论...
验证码 换一张
取 消