Changeset - af8faf2c7104
[Not reviewed]
0 0 2
x - 15 months ago 2024-01-01 01:09:48
xbr@c3l.lu
initial commit
2 files changed with 32 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
 
new file 100644
 
# MacOS directories
 
.DS_Store
 
\ No newline at end of file
README.md
Show inline comments
 
new file 100644
 
# X days since last outage caused by TLS expiry
 

	
 
How often does your infrastructure break because you forgot to automate TLS renewal, or because it broke?
 

	
 
Find out by rolling out this tool with the domains and services!
 

	
 
## Plans
 

	
 
### Backend
 

	
 
- Python script for backend
 
- check each domain's tls cert using [`ssl` library](https://docs.python.org/3/library/ssl.html)
 
- use file(s) to store:
 
  - domains
 
  - expiry status *per* domain
 
  - log of outages
 
- cronjob at the start (every 1-5 minutes)
 

	
 
### Frontend
 

	
 
- Basic HTML
 
  - simple CSS
 
  - title at the top "Days since last outage caused by TLS expiry:"
 
  - big centered number in the middle for time since last outage
 
  - list of domains and their expiry status underneath
 
  - log of outages underneath
 
- Javascript
 
  - fetch generated JSON from "backend" (web server)
 
    - every X seconds
 
  - re-render the counter every second
0 comments (0 inline, 0 general)