{"action":"closed","issue":{"url":"https://api.github.com/repos/adobkin/libcapn/issues/26","repository_url":"https://api.github.com/repos/adobkin/libcapn","labels_url":"https://api.github.com/repos/adobkin/libcapn/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/adobkin/libcapn/issues/26/comments","events_url":"https://api.github.com/repos/adobkin/libcapn/issues/26/events","html_url":"https://github.com/adobkin/libcapn/issues/26","id":154424887,"number":26,"title":"Invalid checking certificate","user":{"login":"cuongtv51","id":4098949,"avatar_url":"https://avatars.githubusercontent.com/u/4098949?v=3","gravatar_id":"","url":"https://api.github.com/users/cuongtv51","html_url":"https://github.com/cuongtv51","followers_url":"https://api.github.com/users/cuongtv51/followers","following_url":"https://api.github.com/users/cuongtv51/following{/other_user}","gists_url":"https://api.github.com/users/cuongtv51/gists{/gist_id}","starred_url":"https://api.github.com/users/cuongtv51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuongtv51/subscriptions","organizations_url":"https://api.github.com/users/cuongtv51/orgs","repos_url":"https://api.github.com/users/cuongtv51/repos","events_url":"https://api.github.com/users/cuongtv51/events{/privacy}","received_events_url":"https://api.github.com/users/cuongtv51/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-12T08:26:52Z","updated_at":"2016-05-24T05:19:24Z","closed_at":"2016-05-24T05:19:23Z","body":"I just pull new code, and create 1 certificate for push voip (using PushKit), \r\nbut when i run it, it log\r\n\r\n[inf] Initializing SSL connection...\r\n[inf] Local certificate subject: UID=xxx.voip, CN=VoIP Services: xxx, OU=GH99A265HF, O=NGO LOC, C=US\r\n[inf] Local certificate issuer: C=US, O=Apple Inc., OU=Apple Worldwide Developer Relations, CN=Apple Worldwide Developer Relations Certification Authority\r\n[err] Invalid certificate. You are using a SANDBOX mode, but certificate was created for usage in PRODUCTION\r\n\r\n\r\nI just check code, and see in file apn_ssl.c (line 219) you have check certificate subject CN, but i think do we need check this ? or may be apple has some new subject CN in future time.\r\n"}}
{"actor":{"display_login":"adobkin"}}