Sign inSign up

madflojo/faas-icanhazexpired

By madflojo

Updated almost 8 years ago

An OpenFaaS function that checks if the remote host has expired certificates.

Image
0

951

madflojo/faas-icanhazexpired repository overview

OpenFaaS ICanHazExpired

An OpenFaaS function that checks if the remote host has expired certificates.

Deploy

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

Tag summary

Content type

Image

Digest

Size

7.9 MB

Last updated

almost 8 years ago

docker pull madflojo/faas-icanhazexpired