Problem Description
When using cloud resources on major platforms in mobile applications, you need to register your application with the respective platform. These platforms often require the public key and signature fingerprint of the app. Taking HarmonyOS application registration on Huawei Cloud as an example, how can one obtain the corresponding public key and MD5 signature?
Background Knowledge
A certificateis a digital certificate that configures signature information for HarmonyOS applications/microservices. It ensures the integrity of software code and the authenticity of the publisher. The certificate format is .cer, which contains the public key, certificate fingerprint (i.e., a summary of the certificate), etc.
Solution
The detailed process to obtain the public key and signature fingerprint can be found on the official website:
Question 12: How to obtain the public key and signature information for HarmonyOS applications/microservices
Key Takeaways
Q: What is MD5?
A: The full name is Message-Digest Algorithm 5, a hash-based message digest algorithm. The result is a 32-character hexadecimal string.
Q: On a Mac computer, how do I obtain the public key and signature info from the downloaded certificate?
A: Open the downloaded .cer certificate file with a text editor on your Mac. After removing the root certificate and intermediate certificate content, save and close the file. Then select the file and press the spacebar to preview it. You will be able to view the MD5 signature, SHA1, and SHA256 values.
Q: How do I submit a change of APP information on the registration page?
A: Refer to FAQ item 18 in the APP Registration FAQ, which provides a solution for updating APP information.
Related Documents or Links
https://developer.huawei.com/consumer/en/doc/app/agc-help-add-releasecert-0000001946273961
Top comments (0)