{"action":"created","issue":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/25","labels_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/25/comments","events_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/25/events","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/25","id":75594181,"number":25,"title":"Implementation uses SUN/Oracle Key Store (JKS) ","user":{"login":"gitman89","id":12411598,"avatar_url":"https://avatars.githubusercontent.com/u/12411598?v=3","gravatar_id":"","url":"https://api.github.com/users/gitman89","html_url":"https://github.com/gitman89","followers_url":"https://api.github.com/users/gitman89/followers","following_url":"https://api.github.com/users/gitman89/following{/other_user}","gists_url":"https://api.github.com/users/gitman89/gists{/gist_id}","starred_url":"https://api.github.com/users/gitman89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitman89/subscriptions","organizations_url":"https://api.github.com/users/gitman89/orgs","repos_url":"https://api.github.com/users/gitman89/repos","events_url":"https://api.github.com/users/gitman89/events{/privacy}","received_events_url":"https://api.github.com/users/gitman89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-12T13:01:53Z","updated_at":"2015-05-12T23:18:51Z","closed_at":null,"body":"SSLConfig uses JKS directly. Please note that JKS is private Sun/Oracle implementation of Key Store.\r\nI suggest dropbox should use: KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());\r\n\r\nhttps://github.com/dropbox/dropbox-sdk-java/blob/master/src/com/dropbox/core/http/SSLConfig.java#L306"},"comment":{"url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/comments/101456701","html_url":"https://github.com/dropbox/dropbox-sdk-java/issues/25#issuecomment-101456701","issue_url":"https://api.github.com/repos/dropbox/dropbox-sdk-java/issues/25","id":101456701,"user":{"login":"cakoose","id":239989,"avatar_url":"https://avatars.githubusercontent.com/u/239989?v=3","gravatar_id":"","url":"https://api.github.com/users/cakoose","html_url":"https://github.com/cakoose","followers_url":"https://api.github.com/users/cakoose/followers","following_url":"https://api.github.com/users/cakoose/following{/other_user}","gists_url":"https://api.github.com/users/cakoose/gists{/gist_id}","starred_url":"https://api.github.com/users/cakoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakoose/subscriptions","organizations_url":"https://api.github.com/users/cakoose/orgs","repos_url":"https://api.github.com/users/cakoose/repos","events_url":"https://api.github.com/users/cakoose/events{/privacy}","received_events_url":"https://api.github.com/users/cakoose/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T23:18:51Z","updated_at":"2015-05-12T23:18:51Z","body":"Hmm, ok.  Some other options:\r\n1. Load the cert directly from the PEM file.  The code isn't that complicated ([PemLoader.java](https://github.com/dropbox/pem-to-jks-maven-plugin/blob/master/src/com/dropbox/maven/pem_to_jks/PemLoader.java)).\r\n2. Change our build process to output to a custom format instead of the JKS format.  The custom format would be simple -- just a bunch of length+data pairs, one for each cert, all concatenated together in a file.  The SDK can easily read this data and load it into any KeyStore.\r\n\r\nI'm leaning toward option 2, since it's slightly more efficient.\r\n\r\nUnfortunately, I don't think I have time to work on this right now.  If you are able to work on it now, let me know and I can give you more details."}}