DSA certificate encryption tool

更新时间:
复制 MD 格式

Android apps are typically signed using the RSA algorithm. The mPaaS console supports signing only for apps that use the RSA algorithm. To sign your app using the Digital Signature Algorithm (DSA), follow the steps in this topic.

To sign your app, follow these steps:

  1. In the mPaaS console, go to Code Management > Code Configuration > Android tab and download the configuration file.

    • Do not upload the signed APK before you download the configuration file.

    • If a base64Code value exists, delete it, as shown in the following figure.

  2. Generate an encrypted image using the mPaaS plugin. In Android Studio, go to mPaaS > Basic Tools > Generate Encrypted Image (Apsara Stack Configuration File) from the top navigation bar. Enter the required information and click OK to generate the encrypted image.

    Obtain the appSecret from the Code Management > Code Configuration > Android tab in the mPaaS console, as shown in the following figure.

  3. Make a standard Remote Procedure Call (RPC) and verify that the call is successful. For more information, see Call an RPC.