[gmail.com] SSL Certificate ExpirationDate : 2024-05-27
[mail.naver.com] SSL Certificate ExpirationDate : 2024-05-01
[application.yml]
........
spring:
main:
web-application-type: none
pid:
file: checker.pid
checker:
cron: 0 0 9 * * ?
enablegroup:
- custom-group-1
server:
host: 127.0.0.1
port: 25
ssl: false
authentication: false
mail:
sender: [email protected]
password: YOUR_ACCOUNT_PASSWORD
text: SSL Certificate ExpirationDate
- checker.cron:
String
Sets the frequency at which the server checks for SSL certificate expiration dates.
- checker.enablegroup:
List
<String
>
Sets the active groups among checker.groups.YOUR_GROUP_NAME.
- checker.server.host:
String
Sets the hostname of the SMTP server to send notification emails.
- checker.server.port:
int
Sets the port of the SMTP server to send notification emails.
- checker.server.ssl:
boolean
Sets whether to communicate with the SMTP server using STARTTLS.
- checker.server.authentication:
boolean
Sets whether to authenticate with the SMTP server.
- checker.mail.sender:
String
Sets the sender email address for notification emails.
- checker.mail.password:
String
Sets the password of the sender email account for notification emails if authentication is enabled.
- checker.mail.text:
String
Sets the text to be included in the subject and body of notification emails.
[application.yml]
........
........
checker:
........
........
groups:
custom-group-1:
condition:
- 7
- 1
recipients:
- [email protected]
- [email protected]
domains:
- mail.kakao.com
custom-group-2:
condition:
- 30
- 14
- 7
- 1
recipients:
- [email protected]
domains:
- www.naver.com
- www.google.com
- checker.groups.YOUR_GROUP_NAME:
String
Sets the name of the group.
- checker.groups.YOUR_GROUP_NAME.condition:
List
<Integer
>
Sets the number of days before SSL certificate expiration to receive notifications for this group.
- checker.groups.YOUR_GROUP_NAME.recipients:
List
<String
>
Sets the email accounts to receive notification emails for this group.
- checker.groups.YOUR_GROUP_NAME.domains:
List
<String
>
Sets the domains to check SSL certificate expiration dates for. e.g., www.google.com
java jar ssl-cert-expired-checker-1.0.0.jar