Validate topic info in push certificate (#373) (#373)

Added mock push certificates and example script for cert generation
Check that push cert has required UID com.apple.mgmt prefix
Closes #367
This commit is contained in:
Lars Preben Sørsdahl
2018-01-26 14:41:30 +01:00
committed by Victor Vrantchan
parent 91169c9933
commit a45d79f37a
6 changed files with 100 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 18262 -out certificate.pem -subj "/UID=com.apple.mgmt.External.18a16429-886b-41f1-9c30-2bd04ae4fc37/CN=APSP:17a16429-886b-41f1-8c90-3bd02ae9fc57/C=US"