Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone

Time:2022-6-13

1. Download the mobileconfig file creation tool

  • Download address: click follow official account to replyappicon, get the download address of the tool
  • newly buildConfiguration description file, fill incurrencyinformation

Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone

  • fill inWeb Clipinformation

Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone

  • Click export in the menu bar. Note that you must selectnothing, export file namedunsigned.mobileconfig

Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone

2. Sign the mobieconfig file with the certificate of the free domain name

  • 3 files required for signature

server. Certificate used for signing on CRT server
server. Key the secret key of the certificate used for signing on the server side
Ca.crt CA certificate issued by other institutions for the server

  • After the certificate application for the free domain name is successful, there will be two files (one.key, one.pem), open.pemFiles, extracting information:

Previous isserver.crt

-----BEGIN CERTIFICATE-----
server
-----END CERTIFICATE-----

The following isca.crt

-----BEGIN CERTIFICATE-----
ca
-----END CERTIFICATE-----
  • Using OpenSSL signature
openssl smime -sign -in unsigned.mobileconfig -out signed.mobileconfig -signer server.crt -inkey server.key  -certfile ca.crt -outform der -nodetach
  • After successful signing, thesigned.mobileconfigMake the file into a download connection, open it with Safari browser and allow it, install the description file, and then look at the desktop and there will be an icon

Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone


Feel useful? If you like it, please collect it. By the way, give me a like. Your support is my greatest encouragement! Wechat search official account[DX front end framework knowledge base], find out more front-end knowledge and practice of Vue, react, flutter, uniapp, nodejs, html/css, etc

DX front-end, sharing front-end framework knowledge base. See DX front-end for details

Create the mobileconfig file by hand, and create the H5 web page desktop icon on the iPhone

Recommended Today

php displays Chinese graphically and specifies the ttf font library

1 <?php 2 header("Content-Type:image/png"); 3 $img=imagecreatetruecolor(400,300); 4 // imagejpeg($img); 5 // imagejpeg($img,"./img/copy_img01.jpg",10); 6 $color1=imagecolorallocate($img,100,100,100); 7 $color2=imagecolorallocate($img,255,0,0); 8 $str="北京欢迎你!"; 9 imagefill($img,0,0,$color1); 10 // imagestring($img,5,0,0,$str,$color2); 11 $fontfile="F:\phpStudy\WWW\myweb\FZXBSJW.ttf"; 12 imagettftext($img,24,0,100,100,$color2,$fontfile,$str); 13 imagepng($img); 14 imagedestroy($img); 15 // header("Content-Type:text/html"); 16 // echo "gave over!"; Line 13 imagepng($img) must have, and the Chinese font path must be an absolute path.