mirror of
https://github.com/jeffcaldwellca/mkcertWeb.git
synced 2026-01-06 04:39:57 -06:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Example Email Configuration for Outlook/Office 365
|
|
|
|
# 1. Enable email notifications
|
|
EMAIL_NOTIFICATIONS_ENABLED=true
|
|
|
|
# 2. Outlook SMTP Configuration
|
|
SMTP_HOST=smtp-mail.outlook.com
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=your-email@outlook.com
|
|
SMTP_PASSWORD=your-password # Regular password or app password if 2FA enabled
|
|
SMTP_TLS_REJECT_UNAUTHORIZED=true
|
|
|
|
# 3. Email settings
|
|
EMAIL_FROM=mkcert-web-ui@outlook.com
|
|
EMAIL_TO=admin@company.com,devops@company.com
|
|
EMAIL_SUBJECT=🔒 Certificate Expiry Alert - mkcert Web UI
|
|
|
|
# 4. Certificate Monitoring
|
|
CERT_MONITORING_ENABLED=true
|
|
CERT_CHECK_INTERVAL=0 9 * * 1 # Weekly on Mondays at 9 AM
|
|
CERT_WARNING_DAYS=45 # Start warnings 45 days before expiry
|
|
CERT_CRITICAL_DAYS=14 # Critical alerts 14 days before expiry
|
|
CERT_MONITOR_UPLOADED=true
|
|
|
|
# For Outlook.com/Hotmail:
|
|
# - Use smtp-mail.outlook.com
|
|
# - Port 587 with STARTTLS
|
|
# - Regular password works unless 2FA is enabled
|
|
|
|
# For Office 365 Corporate:
|
|
# - Use smtp.office365.com
|
|
# - Port 587 with STARTTLS
|
|
# - May require app passwords depending on organization policy
|