Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify APNS certificate loaded #605

Open
twocanoes opened this issue Jul 30, 2019 · 2 comments
Open

Verify APNS certificate loaded #605

twocanoes opened this issue Jul 30, 2019 · 2 comments

Comments

@twocanoes
Copy link
Contributor

What version of micromdm are you using?

1.5

With the dropping of the -apns-cert and -apns-key args, there isn't a way to detect if the APNS identity has been loaded. I found that hitting /v1/config/certificate will return the APNS certificate. I presume that a 2xx code means that a APNS certificate has been loaded.

It would be good to add a status command in mdmctl for the APNS cert, as well as document the /v1/config/certificate endpoint.

@jessepeterson
Copy link
Member

#503 implemented the ability to retrieve (and thus verify) the APNS cert by issuing a GET against /v1/config/certificate (as you note).

@jessepeterson
Copy link
Member

jessepeterson commented Jul 30, 2019

Re: documentation: yes, definitely! Re: mdmctl, yeah, maybe. Lots of mdmctl things could probably be added (like DEP syncnow, send push, installation of profiles, etc). Might be better implemented as a tools/api script than mdmctl, though. 🤷‍♀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants