{"action":"created","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/1695","labels_url":"https://api.github.com/repos/square/okhttp/issues/1695/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/1695/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/1695/events","html_url":"https://github.com/square/okhttp/issues/1695","id":87062962,"number":1695,"title":"how to use default system cipher suites?","user":{"login":"Idhor","id":1781211,"avatar_url":"https://avatars.githubusercontent.com/u/1781211?v=3","gravatar_id":"","url":"https://api.github.com/users/Idhor","html_url":"https://github.com/Idhor","followers_url":"https://api.github.com/users/Idhor/followers","following_url":"https://api.github.com/users/Idhor/following{/other_user}","gists_url":"https://api.github.com/users/Idhor/gists{/gist_id}","starred_url":"https://api.github.com/users/Idhor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Idhor/subscriptions","organizations_url":"https://api.github.com/users/Idhor/orgs","repos_url":"https://api.github.com/users/Idhor/repos","events_url":"https://api.github.com/users/Idhor/events{/privacy}","received_events_url":"https://api.github.com/users/Idhor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T18:32:52Z","updated_at":"2015-06-21T18:55:42Z","closed_at":"2015-06-21T18:55:42Z","body":"What is the correct way to use the default okhttp connection specs but allowing all cipher suites that are enabled by default on the system?\r\nAre the following constants a viable way?\r\n```java\r\nprivate static final String[] SYSTEM_CIPHER_SUITES = null;\r\n\r\nprivate static final ConnectionSpec SYSTEM_MODERN_TLS = new ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)\r\n\t\t.cipherSuites(SYSTEM_CIPHER_SUITES)\r\n\t\t.build();\r\n\r\nprivate static final ConnectionSpec SYSTEM_COMPATIBLE_TLS = new ConnectionSpec.Builder(ConnectionSpec.COMPATIBLE_TLS)\r\n\t\t.cipherSuites(SYSTEM_CIPHER_SUITES)\r\n\t\t.build();\r\n\r\nprivate static final List<ConnectionSpec> SYSTEM_CONNECTION_SPECS = Util.immutableList(\r\n\t\tSYSTEM_MODERN_TLS, SYSTEM_COMPATIBLE_TLS, ConnectionSpec.CLEARTEXT);\r\n```"},"comment":{"url":"https://api.github.com/repos/square/okhttp/issues/comments/113941466","html_url":"https://github.com/square/okhttp/issues/1695#issuecomment-113941466","issue_url":"https://api.github.com/repos/square/okhttp/issues/1695","id":113941466,"user":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T18:55:42Z","updated_at":"2015-06-21T18:55:42Z","body":"Yes, that's right."}}