Skip to content

A service that notifies you by email of the expiration date of your SSL domain certificate.

Notifications You must be signed in to change notification settings

parkjangwon/ssl-cert-expired-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL-CERT-EXPIRED-CHECKER

A service that notifies you by email of the expiration date of your SSL domain certificate.


EMAIL SYSTEM :: INBOX

[gmail.com] SSL Certificate ExpirationDate : 2024-05-27

[mail.naver.com] SSL Certificate ExpirationDate : 2024-05-01


Main Configuration

1. Global Settings

[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: noreply@yourdomain.com
    password: YOUR_ACCOUNT_PASSWORD
    text: SSL Certificate ExpirationDate
  1. checker.cron: String

Sets the frequency at which the server checks for SSL certificate expiration dates.

  1. checker.enablegroup: List<String>

Sets the active groups among checker.groups.YOUR_GROUP_NAME.

  1. checker.server.host: String

Sets the hostname of the SMTP server to send notification emails.

  1. checker.server.port: int

Sets the port of the SMTP server to send notification emails.

  1. checker.server.ssl: boolean

Sets whether to communicate with the SMTP server using STARTTLS.

  1. checker.server.authentication: boolean

Sets whether to authenticate with the SMTP server.

  1. checker.mail.sender: String

Sets the sender email address for notification emails.

  1. checker.mail.password: String

Sets the password of the sender email account for notification emails if authentication is enabled.

  1. checker.mail.text: String

Sets the text to be included in the subject and body of notification emails.


2. Group Settings

[application.yml]
........
........
checker:
........
........
  groups:
    custom-group-1:
      condition:
        - 7
        - 1
      recipients:
        - user1@domain.com
        - user2@domain.com
      domains:
        - mail.kakao.com
    custom-group-2:
      condition:
        - 30
        - 14
        - 7
        - 1
      recipients:
        - user1@domain2.com
      domains:
        - www.naver.com
        - www.google.com
  1. checker.groups.YOUR_GROUP_NAME: String

Sets the name of the group.

  1. checker.groups.YOUR_GROUP_NAME.condition: List<Integer>

Sets the number of days before SSL certificate expiration to receive notifications for this group.

  1. checker.groups.YOUR_GROUP_NAME.recipients: List<String>

Sets the email accounts to receive notification emails for this group.

  1. checker.groups.YOUR_GROUP_NAME.domains: List<String>

Sets the domains to check SSL certificate expiration dates for. e.g., www.google.com


How to Run?

java jar ssl-cert-expired-checker-1.0.0.jar

About

A service that notifies you by email of the expiration date of your SSL domain certificate.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages