{"action":"created","issue":{"url":"https://api.github.com/repos/notnoop/java-apns/issues/230","repository_url":"https://api.github.com/repos/notnoop/java-apns","labels_url":"https://api.github.com/repos/notnoop/java-apns/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/notnoop/java-apns/issues/230/comments","events_url":"https://api.github.com/repos/notnoop/java-apns/issues/230/events","html_url":"https://github.com/notnoop/java-apns/issues/230","id":59437351,"number":230,"title":"how to support SSLContext with no passowrd?","user":{"login":"benkris1","id":3920156,"avatar_url":"https://avatars.githubusercontent.com/u/3920156?v=3","gravatar_id":"","url":"https://api.github.com/users/benkris1","html_url":"https://github.com/benkris1","followers_url":"https://api.github.com/users/benkris1/followers","following_url":"https://api.github.com/users/benkris1/following{/other_user}","gists_url":"https://api.github.com/users/benkris1/gists{/gist_id}","starred_url":"https://api.github.com/users/benkris1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkris1/subscriptions","organizations_url":"https://api.github.com/users/benkris1/orgs","repos_url":"https://api.github.com/users/benkris1/repos","events_url":"https://api.github.com/users/benkris1/events{/privacy}","received_events_url":"https://api.github.com/users/benkris1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-03-02T04:24:35Z","updated_at":"2016-10-13T14:42:13Z","closed_at":null,"body":"In my project ,need to send push without certificate password ?\r\nhow to support ~\r\nthank you "},"comment":{"url":"https://api.github.com/repos/notnoop/java-apns/issues/comments/253533676","html_url":"https://github.com/notnoop/java-apns/issues/230#issuecomment-253533676","issue_url":"https://api.github.com/repos/notnoop/java-apns/issues/230","id":253533676,"user":{"login":"m-radzikowski","id":4042673,"avatar_url":"https://avatars.githubusercontent.com/u/4042673?v=3","gravatar_id":"","url":"https://api.github.com/users/m-radzikowski","html_url":"https://github.com/m-radzikowski","followers_url":"https://api.github.com/users/m-radzikowski/followers","following_url":"https://api.github.com/users/m-radzikowski/following{/other_user}","gists_url":"https://api.github.com/users/m-radzikowski/gists{/gist_id}","starred_url":"https://api.github.com/users/m-radzikowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-radzikowski/subscriptions","organizations_url":"https://api.github.com/users/m-radzikowski/orgs","repos_url":"https://api.github.com/users/m-radzikowski/repos","events_url":"https://api.github.com/users/m-radzikowski/events{/privacy}","received_events_url":"https://api.github.com/users/m-radzikowski/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T14:42:13Z","updated_at":"2016-10-13T14:42:13Z","body":"I'm using certificates without password too and also had create SSLContext on my own.\r\n\r\nExplanation of why not empty password is required is in javadoc for ApnsServiceBuilder#withCert() method:\r\n>      * This library does not support password-less p12 certificates, due to a\r\n>      * Oracle Java library <a href=\"http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6415637\">\r\n>      * Bug 6415637</a>.  There are three workarounds: use a password-protected\r\n>      * certificate, use a different boot Java SDK implementation, or constract\r\n>      * the `SSLContext` yourself!  Needless to say, the password-protected\r\n>      * certificate is most recommended option.\r\n\r\nBug comment mentions was fixed in at least Java 8b27 or sooner. See:\r\nhttp://bugs.java.com/bugdatabase/view_bug.do?bug_id=6415637\r\nhttp://bugs.java.com/bugdatabase/view_bug.do?bug_id=6500144\r\nhttp://bugs.java.com/bugdatabase/view_bug.do?bug_id=6516893\r\nhttp://bugs.java.com/bugdatabase/view_bug.do?bug_id=6879539\r\n\r\nIn my opinion javadoc is no longer valid and `assertPasswordNotEmpty(password);` calls should be removed, as the Java has no problem with loading this certificates any more."}}
{"actor":{"display_login":"m-radzikowski"}}