免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
描述配置文件(?.mobileconfig)

配置描述文件是XML 文件,包含以下內(nèi)容:設(shè)備安全策略、VPN 配置信息、Wi-Fi 設(shè)置、APN 設(shè)置、Exchange帳戶設(shè)置、郵件設(shè)置以及允許 iPhone 和 iPod touch 與企業(yè)系統(tǒng)配合使用的證書。

 

  “iPhone配置實(shí)用工具”可讓您輕松地創(chuàng)建、維護(hù)和安裝配置描述文件及對(duì)配置描述文件進(jìn)行加密,跟蹤和安裝預(yù)置描述文件與授權(quán)的應(yīng)用程序,以及采集包括控制臺(tái)日志在內(nèi)的設(shè)備信息。(這個(gè)工具可以從官網(wǎng)上進(jìn)行下載)

 

  目前所知的,安裝這個(gè)配置文件除了上述的使用“iphone配置實(shí)用工具”之外,還可以通過郵件附件或通過使用safari瀏覽包含有下載的網(wǎng)頁的方式激活安裝(install profile窗口)。

 

   如何能在不聯(lián)網(wǎng)的方式進(jìn)行配置文件的安裝呢????這是個(gè)問題....

 

 

下面這個(gè)文章大致介紹了下配置描述文件從生成到安裝的過程:

Over-the-air IPhone Setup Using aSigned .mobileconfig File

Note: this does not push your configuration to an iPhone. Theuser of the iPhone must go to a web address and install aconfiguration profile.

   Suppose that you have a fewiPhones that you need to support, but you don't want to spend thetime typing in all of the e-mail (IMAP or POP), LDAP, wirelessnetwork, or other settings into each phone. Perhaps you have found but you don't really feellike setting up a whole SCEP Certification Authority to get thingsdone either since your requirements are so simple. But you dorealize that it is much easier to tell your user to go tohttps://example.com/iphone/ on their iPhone than to step themthrough all the individual setup routines.

   Amazingly enough, there isnot much documentation out there on how to hand-roll a.mobileconfig file that you can pass out on an HTTPS server to yourusers. We also want it to be "Verified" by the iPhone so that yourusers can see it is from you. While they can install untrustedprofiles, it sure adds a nice touch to have the greencheckmark.

   Perhaps you've scoured theInternet since you've read that you can "just use opensslsmime" to sign your .mobileconfig file, but no one seems totell you how. We'll go over that here as well.

 

1) Create a configuration(.mobileconfig) file

   This file will contain allthe configuration you want for your users' iPhones. I believe youcan use Apple's iPhoneConfiguration Utility to create this file. You don't have to,but it'll probably save you some typing.

   The Enterprise Deployment Guide defines the syntax of the profilesin Appendix B. You can do some pretty fancy request/responsescripting between the phone and your server, but I'll just go overa simpler method that just sends a configuration file from your webserver to their phone.

Your .mobileconfig file will end up looking something likethis:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "<plist version="1.0">
<dict>
 <key>PayloadContent</key>
 <array>
  <dict>
   <key>PayloadDisplayName</key>
   <string>LDAP Settings</string>
   <key>PayloadType</key>
   <string>com.apple.ldap.account</string>
   <key>PayloadVersion</key>
   <integer>1</integer>
   <key>PayloadUUID</key>
   <string>6df7a612-ce0a-4b4b-bce2-7b844e3c9df0</string>
   <key>PayloadIdentifier</key>
   <string>com.example.iPhone.settings.ldap</string>
   <key>LDAPAccountDescription</key>
   <string>Company Contacts</string>
   <key>LDAPAccountHostName</key>
   <string>ldap.example.com</string>
   <key>LDAPAccountUseSSL</key>
   <false />
   <key>LDAPAccountUserName</key>
   <string>uid=username,dc=example,dc=com</string>
   <key>LDAPSearchSettings</key>
   <array>
    <dict>
     <key>LDAPSearchSettingDescription</key>
     <string>Company Contacts</string>
     <key>LDAPSearchSettingSearchBase</key>
     <string></string>
     <key>LDAPSearchSettingScope</key>
     <string>LDAPSearchSettingScopeSubtree</string>
    </dict>
    <dict>
     <key>LDAPSearchSettingDescription</key>
     <string>Sales Departments</string>
     <key>LDAPSearchSettingSearchBase</key>
     <string>ou=Sales,dc=example,dc=com</string>
     <key>LDAPSearchSettingScope</key>
     <string>LDAPSearchSettingScopeSubtree</string>
    </dict>
   </array>
  </dict>
  <dict>
   <key>PayloadDisplayName</key>
   <string>Email Settings</string>
   <key>PayloadType</key>
   <string>com.apple.mail.managed</string>
   <key>PayloadVersion</key>
   <integer>1</integer>
   <key>PayloadUUID</key>
   <string>362e5c11-a332-4dfb-b18b-f6f0aac032fd</string>
   <key>PayloadIdentifier</key>
   <string>com.example.iPhone.settings.email</string>
   <key>EmailAccountDescription</key>
   <string>Company E-mail</string>
   <key>EmailAccountName</key>
   <string>Full Name</string>
   <key>EmailAccountType</key>
   <string>EmailTypeIMAP</string>
   <key>EmailAddress</key>
   <string>username@example.com</string>
   <key>IncomingMailServerAuthentication</key>
   <string>EmailAuthPassword</string>
   <key>IncomingMailServerHostName</key>
   <string>imap.example.com</string>
   <key>IncomingMailServerUseSSL</key>
   <true />
   <key>IncomingMailServerUsername</key>
   <string>username@es2eng.com</string>
   <key>OutgoingPasswordSameAsIncomingPassword</key>
   <true />
   <key>OutgoingMailServerAuthentication</key>
   <string>EmailAuthPassword</string>
   <key>OutgoingMailServerHostName</key>
   <string>smtp.example.com</string>
   <key>OutgoingMailServerUseSSL</key>
   <true />
   <key>OutgoingMailServerUsername</key>
   <string>username@example.com</string>
  </dict>
 </array>
 <key>PayloadOrganization</key>
 <string>Your Organization's Name</string>
 <key>PayloadDisplayName</key>
 <string>Organization iPhone Settings</string>
 <key>PayloadVersion</key>
 <integer>1</integer>
 <key>PayloadUUID</key>
 <string>954e6e8b-5489-484c-9b1d-0c9b7bf18e32</string>
 <key>PayloadIdentifier</key>
 <string>com.example.iPhone.settings</string>
 <key>PayloadDescription</key>
 <string>Sets up Organization's LDAP directories and email on the iPhone</string>
 <key>PayloadType</key>
 <string>Configuration</string>
</dict>
</plist>
         

Sign the .mobileconfigfile

   This is the part that noone else seems to go over. Signing your configuration profile is anoptional step, but it's not too hard if you already have an X.509web server or email certificate.

For this step, I'll use the following notations:

   Once you have all the fileslisted above, you will run a command like the following:
openssl smime -sign -in company.mobileconfig -outsigned.mobileconfig -signer server.crt -inkey server.key -certfilecert-chain.crt -outform der -nodetach

The -outform der and -nodetach areyour real tickets here in getting it into a form that the iPhonewants. Now you take signed.mobileconfig and move on tothe next step!

   Help for those that willuse PHP scripting: You'll want to look atopenssl_pkcs7_sign() function with the$flags field set to 0. This will create a file that isbase-64 encoded. After you strip off the e-mail headers at the top,you can base64_decode() to get the same output. Forexample:
$mobileconfig = base64_decode(preg_replace('/(.+\n)+\n/', '',$signed, 1));

 

Serve up the file on your HTTPSserver

Try it out on youriPhone

Finished!

At this point, we are finished. See the Enterprise Deployment Guide for other configuration profilesthat you can create. It doesn't let you create or set everythingthat I wish it did (especially when it comes to setting up IMAPdefaults), but it lets you do quite a bit.

I hope that this helps you! This is obviously a very brief guideand I glazed over a few details. If you have any comments, let meknow. My e-mail address can be deduced from the very bottom of thedocument.

 

See Also

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
iOS 消息推送原理及實(shí)現(xiàn)Demo
Runtime Error
不同配置文件的初始化Hibernate心得
Installing and Configuring the Apache HTTP Server Plug-In (在weblogic 9.x 10.x上配置apache http server 插
Discovery Without an Auto
通過蘋果Safari瀏覽器獲取iPhone UDID步驟詳解
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服