APP registration, iOS signature file MD5, public key acquisition method

Preface

In August 2023, China began to require APPs listed on the application market to be registered. For registration, you need to submit the MD5, public key and other information in the Android APP signature file. The following figure shows the information that needs to be submitted for the registration of a platform APP.

picture

Get MD5 and other information

The easiest way

For those who do not have IDE tools, have not engaged in iOS development, or want to save time, it is recommended to obtain the MD5 and public key information in the iOS signature file through the web page we developed. This tool ensures the security of signature files and other information.

Web page address: https://aitoolnav.caichuangkeji.com/#/AppMd5

In the following interface, upload the signature file, enter the password, and click to obtain the signature file information.

picture

Commitment statement: This tool will not save any user information. The program will automatically delete the certificate file after reading the certificate information.

normal method

Method 1: Obtain the Bundle ID, platform public key, and signature MD5 value through the Apple Developer Center.

Get Bundle ID:

1. Log in to the Developer console using the iOS developer account corresponding to the APP, find the identifier (in English) below, and click to enter the Certificates, Identifiers & Profiles page.

picture

2. On the Certificates, Identifiers & Profiles page, click Identifiers, where the IDENTIFIER column corresponds to the Bundle ID. As shown below:

picture

Get the public key and signature SHA1 value:

1. In the planning resources, click Certificate (English) to enter the Certificates page.

picture

2. On the Certificates page, you can view the certificate details and download the certificate corresponding to the APP.

picture

3. By viewing the certificate details, you can obtain the public key and signature SHA1 value. iOS APP public key, as shown in the figure below:

picture

If the public key is not fully displayed, you can click the ellipsis first. If it is still not fully displayed, please copy the data displayed in front of the ellipsis to fill it in.

4. iOS APP signature MD5 value (SHA-1), as shown in the figure below:

picture

Method 2: Through the command line

1. Install OpenSSL: Make sure you have the OpenSSL tool installed on your system.

2. Extract the certificate and private key: Use the following commands to extract the certificate and private key from the '.p12' file and save them as two separate files.

openssl pkcs12 -in YourCertificate.p12 -clcerts -nokeys -out Certificate.crt
openssl pkcs12 -in YourCertificate.p12 -nocerts -nodes -out PrivateKey.key

This will extract the certificate and save it as a 'Certificate.crt' file and the private key and save it as a 'PrivateKey.key' file respectively.

3. Obtain the MD5 fingerprint of the certificate: Use the following command to obtain the MD5 fingerprint of the certificate.

openssl x509 -noout -fingerprint -md5 -inform pem -in Certificate.crt

This will output the MD5 fingerprint of the certificate from which you can obtain the MD5 value.

4. Get the public key: Use the following command to extract the public key from the certificate.

openssl x509 -pubkey -noout -inform pem -in Certificate.crt > PublicKey.pem

This will extract the certificate's public key and save it as a 'PublicKey.pem' file.

Now, the MD5 and public key of the '.p12' signature file have been successfully obtained. Please note that the file name in the above command needs to be adjusted according to your actual situation.

Other recommendations:

1. AI application assistant: https://ai.caichuangkeji.com/

2. AI navigation website: https://aitoolnav.caichuangkeji.com/

3. If you want to learn about obtaining the md5, public key and other information of the Android signature file, please go toAPP registration, the latest method to obtain the MD5 and other information in the Android signature file

Guess you like

Origin blog.csdn.net/caixiongshuo/article/details/133773944