Simple API to Get the SSL Expiry date, time and Days.
SSL Expiry date Checker API - Built using Node.js and Express.js
- Node.js Stable version
- Yarn - For install and update the package
- Web Server with Node.js Support
- clone to repo
git clone https://github.com/mskian/sslcheck-api.git
cd sslcheck-api
- install packages
yarn install
- Run the API
yarn start
- Test the API on Browser
http://localhost:3001/google.com
[
{
"domain": "google.com",
"issued": "Monday, July 11, 2022 1:50 PM",
"expires": "Monday, October 3, 2022 1:50 PM",
"daysleft": 62,
"provider": "Google Trust Services LLC"
}
]
you can deploy this script on Vercel.com
for free
Node SSL Checker - https://github.com/mskian/ssl-checker-node-api
MIT