mobileconfig_sign
sign Apple’s mobileconfig file to solve the ‘unsigned’ problem
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/mobileconfig_sign
err := mobilieconfig_sign.Sign(mobileconfigPath,outPath,sslKeyPath,sslCrtPath,iosCrtPath)
if err != nil {
panic(err)
}
before signing
after signing