Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 748 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 748 Bytes

amcs(apple mobile config signature)

sign Apple’s mobileconfig file to solve the ‘unsigned’ problem

the project rely openssl

https://github.com/openssl/openssl

first step

  • to prepare a self-signed certificate
openssl genrsa -out ios.key 2048
openssl req -new -sha256 -key ios.key -out ios.csr

SSL certificate

  • You need to hold the crt and key files issued by the operator

how to use?

go get github.com/19byte/amcs

err := amcs.Sign(mobileconfigPath,outPath,sslKeyPath,sslCrtPath,iosCrtPath)
if err != nil {
    panic(err)
}

before signing

before signing

after signing

after signing