mobileconfig_sign

package module
v0.0.0-...-d260757 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

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

before signing

after signing

after signing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(mobileConfigPath, outPath, sslKeyPath, sslCrtPath, iosCrtPath string) error

Sign mobileConfigPath the path of the file that needs to be signed outPath file output path after signing sslKeyPath ssl key path sslCrtPath ssl crt path iosCrtPath self-signed csr path

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL