sign Apple’s mobileconfig file to solve the ‘unsigned’ problem
- to prepare a self-signed certificate
openssl genrsa -out ios.key 2048
openssl req -new -sha256 -key ios.key -out ios.csr
- You need to hold the crt and key files issued by the operator
go get github.com/19byte/amcs
err := amcs.Sign(mobileconfigPath,outPath,sslKeyPath,sslCrtPath,iosCrtPath)
if err != nil {
panic(err)
}