Notification Settings
Notification settings allow you to configure multiple notification channels to receive timely alerts when important events occur, such as certificate expiration, deployment completion, and monitoring alerts.
Accessing Notification Settings
Section titled “Accessing Notification Settings”Visit the Notification Settings page.
Supported Notification Channels
Section titled “Supported Notification Channels”anssl supports the following notification channels:
Email Notifications
Section titled “Email Notifications”Receive notifications via email, sent to your registered account email by default.
Advantages:
- No additional configuration required
- Suitable for detailed notification content
- Long-term storage and query capabilities
Use Cases:
- Certificate expiration reminders
- Daily/weekly reports
- Important event notifications
Webhook
Section titled “Webhook”Send notifications to your specified URL via HTTP POST requests, suitable for integration with other systems.
Configuration Parameters:
- Webhook URL: HTTP endpoint to receive notifications
- Secret: Key for verifying request source
- Headers: Custom HTTP request headers
Webhook Request Format:
{ "event": "certificate_expiring", "timestamp": "2025-01-15T10:30:00Z", "data": { "certificate_id": "cert_123456", "domain": "example.com", "expires_at": "2025-02-15T00:00:00Z", "days_remaining": 30 }}Use Cases:
- Integration with ticketing systems
- Automated workflow triggers
- Custom notification processing
DingTalk
Section titled “DingTalk”Send notifications to DingTalk group chats via DingTalk robot.
Configuration Steps:
-
Add a custom robot in your DingTalk group
-
Get the Webhook URL (format:
https://oapi.dingtalk.com/robot/send?access_token=xxx) -
If security settings are enabled, get the signature secret
-
Enter the Webhook URL and secret in anssl
Use Cases:
- Team collaboration notifications
- Instant alerts
- Mobile notifications
Feishu/Lark
Section titled “Feishu/Lark”Send notifications to Feishu group chats via Feishu robot.
Configuration Steps:
-
Add a custom robot in your Feishu group
-
Get the Webhook URL
-
If signature verification is enabled, get the signature secret
-
Enter the Webhook URL and secret in anssl
Use Cases:
- Internal enterprise notifications
- Cross-department collaboration
- Quick alert response
Notification Event Configuration
Section titled “Notification Event Configuration”Certificate Expiration Reminders
Section titled “Certificate Expiration Reminders”Send reminder notifications when certificates are about to expire.
Configuration Options:
- Enable/Disable: Toggle this notification type
- Days in Advance: How many days before expiration to start reminders (recommended: 30 days)
- Notification Channels: Select channels to receive notifications (multiple selections allowed)
Reminder Frequency:
- 30 days before expiry: First reminder
- 15 days before expiry: Second reminder
- 7 days before expiry: Third reminder
- 3 days before expiry: Urgent reminder
- 1 day before expiry: Final reminder
Certificate Application Events
Section titled “Certificate Application Events”Send notifications when certificate applications succeed or fail.
Event Types:
- Application Success: Certificate successfully issued
- Application Failed: Certificate application failed, includes failure reason
Notification Content:
- Certificate domain
- Application time
- Certificate validity period
- Failure reason (if failed)
Deployment Events
Section titled “Deployment Events”Notification of certificate deployment status to target servers.
Event Types:
- Deployment Success: Certificate successfully deployed to target
- Deployment Failed: Error occurred during deployment
Notification Content:
- Certificate information
- Deployment target
- Deployment time
- Failure reason (if failed)
Monitoring Alerts
Section titled “Monitoring Alerts”Send alerts when domain monitoring detects certificate issues.
Alert Trigger Conditions:
- Certificate expiring soon
- Certificate expired
- Certificate validation failed
- Domain resolution errors
Notification Content:
- Monitored domain
- Alert type
- Current status
- Recommended actions
Test Notification Channels
Section titled “Test Notification Channels”After configuring notification channels, it’s recommended to test them to ensure correct configuration.
-
Complete notification channel configuration
-
Click the “Test” button next to the channel
-
The system will send a test message to that channel
-
Confirm receipt of the test message
Notification History
Section titled “Notification History”The notification history is displayed at the bottom of the notification settings page.
History Records Include:
- Send time
- Event type
- Notification channel
- Send status (Success/Failed)
- Failure reason (if failed)
Filter Options:
- Filter by time range
- Filter by event type
- Filter by notification channel
- Filter by send status
Notification Best Practices
Section titled “Notification Best Practices”Channel Selection Recommendations
Section titled “Channel Selection Recommendations”Different event types are suitable for different notification channels:
| Event Type | Recommended Channels | Rationale |
|---|---|---|
| Certificate Expiration | Email + DingTalk/Feishu | Detailed records + immediate team notification |
| Application Success | Detailed record, no immediate response needed | |
| Application Failed | DingTalk/Feishu + Webhook | Requires quick action |
| Deployment Success | Record only | |
| Deployment Failed | DingTalk/Feishu + Webhook | Requires immediate fix |
| Monitoring Alerts | All Channels | Emergency, multiple channels ensure receipt |
Avoid Notification Fatigue
Section titled “Avoid Notification Fatigue”- ✅ Only enable truly necessary notifications
- ✅ Set reminder days appropriately to avoid too early or too late
- ✅ Configure different notification channels for different teams
- ✅ Regularly review notification history and optimize configuration
- ❌ Don’t send all events to all channels
- ❌ Don’t set overly frequent reminders
Notification Priority
Section titled “Notification Priority”Recommended priority-based notification configuration:
P0 (Urgent):
- Certificate expired
- Critical issues detected by monitoring
- Deployment failed
- Notification: All channels, immediate response
P1 (Important):
- Certificate expiring within 7 days
- Application failed
- Notification: DingTalk/Feishu + Email, handle same day
P2 (Normal):
- Certificate expiring within 30 days
- Deployment success
- Application success
- Notification: Email, routine handling
Security Recommendations
Section titled “Security Recommendations”- ✅ Regularly rotate Webhook secrets
- ✅ Use HTTPS URLs for receiving Webhooks
- ✅ Verify Webhook request signatures
- ✅ Restrict Webhook URL access permissions
- ❌ Don’t expose Webhook URLs in public channels
- ❌ Don’t hard-code secrets in source code
Troubleshooting
Section titled “Troubleshooting”Not Receiving Email Notifications
Section titled “Not Receiving Email Notifications”- Check if email address is correct
- Check spam folder
- Confirm email provider isn’t blocking emails from anssl
- Check send status in notification history
Webhook Notifications Failing
Section titled “Webhook Notifications Failing”- Confirm URL is accessible from the internet
- Check if SSL certificate is valid
- Verify secret configuration is correct
- Review server logs for errors
- Use test function to verify configuration
DingTalk/Feishu Notifications Failing
Section titled “DingTalk/Feishu Notifications Failing”- Confirm Webhook URL is correct
- Check if robot is disabled
- Verify signature secret matches
- Confirm group chat exists
- Check if robot send frequency is exceeded
Can I configure multiple channels of the same type?
Section titled “Can I configure multiple channels of the same type?”Yes. For example, you can configure multiple Webhook URLs to send notifications to different systems.
Will notifications be sent repeatedly?
Section titled “Will notifications be sent repeatedly?”No. Each event triggers a notification only once. However, certificate expiration will send multiple reminders at different times.
How do I disable all notifications?
Section titled “How do I disable all notifications?”Disable all event types on the notification settings page. However, it’s not recommended to completely disable notifications; keep at least urgent event notifications enabled.
Are there send frequency limits for notifications?
Section titled “Are there send frequency limits for notifications?”To prevent abuse, each channel can send up to 20 notifications per minute. Normal usage won’t hit this limit.