mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-09 02:55:59 +08:00
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:
committed by
Victor Vrantchan
parent
91169c9933
commit
a45d79f37a
3
pkg/crypto/testdata/create_mock_push_cert.sh
vendored
Executable file
3
pkg/crypto/testdata/create_mock_push_cert.sh
vendored
Executable 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"
|
||||
Reference in New Issue
Block a user