An OpenFaaS function that checks if the remote host has expired certificates.
951
An OpenFaaS function that checks if the remote host has expired certificates.
To deploy this function it is assumed you already have an OpenFaaS instance setup.
First, clone this git repository locally.
$ git clone https://github.com/madflojo/faas-icanhazexpired.git
Second, deploy the function to your OpenFaaS instance.
$ faas-cli deploy -f ./icanhazexpired.yml --gateway=http://<YOUR-GATEWAY>
Third, hit the function endpoint provided.
$ curl -d "expired.badssl.com:443" http://<YOUR-GATEWAY>:8080/function/faas-icanhazexpired
EXPIRED
Content type
Image
Digest
Size
7.9 MB
Last updated
almost 8 years ago
docker pull madflojo/faas-icanhazexpired