# Certificate Management

Feature Background

The Mini-Program platform supports developers in configuring access domains for Mini-Programs and binding SSL certificates based on security management requirements to enhance the security of Mini-Program access requests. Through network certificate verification, you can ensure that business requests in the internet environment are secure and stable, effectively preventing issues such as request hijacking and man-in-the-middle attacks.

# 1. Feature Description

By adding network certificate verification, it ensures that business requests in the internet environment are secure and stable, effectively preventing issues such as request hijacking and man-in-the-middle attacks.

# 2. Usage Instructions

# 2.1 Upload Certificate to the Server

Navigate to [Development Management - Certificate Management], click "Upload Certificate" to upload the certificate content. After the upload is complete, the server will extract the certificate validity period and bound domain from the certificate content. image.png image.png

# 2.2 Set Domains Requiring Certificate Protection

Not all business requests require strict certificate verification. Therefore, developers can set the domains for which this certificate takes effect in [Certificate Management - Manage Domains]. This setting will take effect the next time the Mini-Program is opened. image.png

# 2.3 Takes Effect When Opening the Mini-Program

When certificate services are configured for certain domains within the Mini-Program, they will be handled as follows:

Scenario Description Can Access Domain Service? Frontend Display
The domain accessed in the Mini-Program does not have certificate service configured. Can access No prompt, user experience is unaffected.
The domain accessed in the Mini-Program has certificate service configured, but certificate verification fails. Access is prohibited When the user attempts to access the service corresponding to the domain, they will be unable to obtain the service and will see a "Load Failed" related prompt.
The domain accessed in the Mini-Program has certificate service configured, and certificate verification passes. Can access No prompt, user experience is unaffected.
The domain accessed in the Mini-Program has certificate service configured, but the certificate service has expired. Can access The user will be able to continue accessing the domain service, but upon entering the domain, they will see a "Current certificate has expired" related prompt on the frontend.
The domain accessed in the Mini-Program has certificate service configured, but the Mini-Program failed to download the certificate correctly. Determined based on Mini-Program settings. If the Mini-Program specifies in the app.json file that a URL must be encrypted, and the SDK does not contain the encryption certificate for the corresponding URL, then the request will be blocked, and a corresponding prompt will be displayed according to the configuration. Otherwise, access proceeds normally.

# 3. Frequently Asked Questions

You can click here to view common questions about certificate management.

# 4. Feature and Environment Comparison

The current feature may have differences and limitations in different environments. Please refer to the table below for specifics. To learn more about the differences and introductions between different versions, you can click here (opens new window).

Community Edition Environment SaaS Environment Enterprise Edition (Annual Subscription or One-time Purchase)
Certificate Management ✅ ✅ ✅
© FinClip with ❤ , Since 2017