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
精彩评论