Do certificates automatically renew?

Yes, SSLcat fully supports automatic certificate renewal. This is one of SSLcat's core features, ensuring your HTTPS service will never be interrupted due to certificate expiration.

Automatic Renewal Mechanism

SSLcat's automatic renewal mechanism is based on the following principles:

Renewal Schedule

SSLcat follows this schedule for certificate renewal:

Renewal Process

Detailed certificate renewal process:

  1. Check certificate status - Regularly check certificate expiration time
  2. Trigger renewal - Trigger renewal process 30 days before expiration
  3. Domain validation - Re-validate domain ownership
  4. Apply for new certificate - Apply for new certificate from Let's Encrypt
  5. Install certificate - Automatically install new certificate to server
  6. Restart service - Gracefully restart service to load new certificate
  7. Verify success - Verify new certificate is working properly

Configuration Options

You can adjust automatic renewal behavior through configuration file:

# Certificate configuration
certificates:
  auto_renewal:
    enabled: true
    renew_before_days: 30    # Days before renewal
    max_retries: 3           # Maximum retry attempts
    retry_interval: 24       # Retry interval (hours)

  # Let's Encrypt configuration
  letsencrypt:
    staging: false           # Whether to use staging environment
    email: "admin@example.com"
    agree_tos: true

Monitoring and Logging

SSLcat provides detailed certificate renewal logs:

Alert Notifications

SSLcat supports multiple alert notification methods:

Troubleshooting

If automatic renewal fails, possible causes:

Manual Renewal

If you need to manually trigger certificate renewal:

# Manually renew all certificates
sslcat --renew-all

# Renew specific domain
sslcat --renew-domain example.com

# Check certificate status
sslcat --check-certificates

Certificate Backup

SSLcat automatically backs up certificate files:

Best Practices

Recommendations for using automatic renewal:

Let's Encrypt Limits

Understand Let's Encrypt usage limits:

With SSLcat's automatic renewal feature, you don't need to worry about certificate expiration at all and can focus on business development.