Create SSL Testing Tasks¶
SSL testing is used to monitor the TLS/SSL certificate status of target domains, including certificate validity period, issuing authority, and handshake performance. By configuring availability judgment conditions such as the remaining days of the certificate, the system can automatically trigger alerts when the certificate is about to expire or handshake anomalies occur, helping you proactively avoid service interruption risks caused by certificate failure.
Create¶
Navigate to Synthetic Tests > Tasks Page, click Create, and select API Tests from the pop-up window to enter the configuration page.
Step 1: Select Testing Type¶
Select SSL Protocol as the testing type.
Step 2: Define Request Format¶
Configure the access information for the target domain:
- Host: Enter the target domain name to be detected.
- Port: Enter the detection port, default is
443. - Test: Click to initiate a TLS handshake to the target Host, verifying connectivity and obtaining basic certificate information. The test result is only for configuration validation and will not be saved as a testing record.
After configuration, customize the testing rule name (duplicate names are not allowed within the current workspace).
Step 3: Availability Judgment¶
Configure the judgment conditions for a successful test. The test result is recorded as successful when all the following conditions are met:
- Certificate Remaining Days: Select "greater than" or "less than" and enter the day threshold.
- Response Time: Select "less than" and enter the millisecond threshold.
Click "Add Judgment Condition" to combine multiple rules. Currently, only "meet all of the following conditions" is supported.
Step 4: Select Testing Nodes¶
Select the nodes to execute the test. You can choose one or multiple nodes from Chinese regions, overseas regions (available only for Commercial Plan and above users), or Self-built Nodes to simulate certificate access from different geographical locations.
Step 5: Select Testing Frequency¶
Select the execution frequency for the testing task. Fixed options include 1 minute, 5 minutes, 10 minutes, 30 minutes, 1 hour, 24 hours, etc. You can also switch to Crontab mode to customize the expression.
Note
It is recommended to configure a frequency of 1 hour or more for certificate detection, as high-frequency detection is unnecessary.
After configuration, click Save to create the SSL testing task.
View Testing Results¶
Testing List¶
After SSL testing is executed, you can view all execution records in the testing list, including status, execution time, rule name, Host, testing node, failure type, and total duration.
Testing Details¶
Click the rule name in the list to enter the details page. The top section displays the status, execution time, task name, duration, testing node, and Host address.
The details page is divided into multiple tabs:
Test Performance
Displays the performance metrics for this test, including TLS handshake duration.
Certificate Details
Displays the certificate information for the target domain, including:
- Certificate Status
- Expiration Time
- Remaining Days
- Issued To (CN)
- Issuing Authority (CA)
- Certificate Fingerprint
When a test fails, you can view the specific failure reason and corresponding metrics in the details.