{"action":"opened","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/873","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/873/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/873/events","html_url":"https://github.com/npgsql/npgsql/issues/873","id":117743304,"number":873,"title":"Incorrect documentation: SSL Mode connection string parameter values","user":{"login":"sampalmer","id":4566802,"avatar_url":"https://avatars.githubusercontent.com/u/4566802?v=3","gravatar_id":"","url":"https://api.github.com/users/sampalmer","html_url":"https://github.com/sampalmer","followers_url":"https://api.github.com/users/sampalmer/followers","following_url":"https://api.github.com/users/sampalmer/following{/other_user}","gists_url":"https://api.github.com/users/sampalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/sampalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampalmer/subscriptions","organizations_url":"https://api.github.com/users/sampalmer/orgs","repos_url":"https://api.github.com/users/sampalmer/repos","events_url":"https://api.github.com/users/sampalmer/events{/privacy}","received_events_url":"https://api.github.com/users/sampalmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T05:19:30Z","updated_at":"2015-11-19T05:19:30Z","closed_at":null,"body":"[The Connection String Parameters documentation](http://www.npgsql.org/doc/connection-string-parameters.html) says that for the `SSL Mode` connection string parameter:\r\n\r\n> Controls whether SSL is required, disabled or preferred, depending on server support.\r\n\r\nIt also says the default is `Disabled`.\r\n\r\nLikewise, [the Security and Encryption documentation](http://www.npgsql.org/doc/security.html) says:\r\n\r\n> specify SSL Mode in your connection string, setting it to either required (connection will fail if the server isn’t set up for encryption), or preferred (use encryption if possible but fallback to unencrypted otherwise)\r\n\r\n[However, these values don't work for me using Npgsql 3.0.3 obtained with NuGet.](http://stackoverflow.com/q/33795696/238753) Instead, [I had to use the `SslMode` enum values](http://stackoverflow.com/a/33795697/238753):\r\n\r\n* `Disable`\r\n* `Prefer`\r\n* `Require`"}}