开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜