Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Iphone signature .mobileconfig file-HTTPS SSL tutorial

Shulou Source: shulou.com Published: 2022-06-01 02:27:54 10月04日 Update

Iphone signature .mobileconfig file-HTTPS SSL tutorial

Company.mobileconfig unsigned mobileconfig file

Server.crt your server SSL certificate

Server.key your private key

Ca-bundle.crt, your root certificate chain.

Mobileconfig name signed by signed.mobileconfig

Sign the command:

Openssl smime-sign-in company.mobileconfig-out signed.mobileconfig-signer server.crt-inkey server.key-certfile ca-bundle.crt-outform der-nodetach

Server settings:

Apache wants to add MIME

AddType application/x-apple-aspen-config .mobileconfig

Nginx modifies mime.types

Application/x-apple-aspen-config .mobileconfig

Server-side development-PHP language:

Header ('Content-type: application/x-apple-aspen-config; chatset=utf-8'); header (' Content-Disposition: attachment; filename= "company.mobileconfig"'); echo $mobileconfig

Global trusted CA institutions

Tags: Servers services files certificates tutorials global trusted names commands institutions languages development Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MariaDB MySQL Shulou Information macOS