Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/s-aska/ssl_certificate_exporter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/s-aska/ssl_certificate_exporter

  • v0.0.0-20160614185734-c9db88f6bbb2
  • Source
  • Go
  • Socket score

Version published
Created
Source

SSL Certificate Exporter

Exporter for SSL Certificate metrics https://prometheus.io/

Configuration

  1. Write the domain you want to check the expiration date of the ssl to JSON File.
{"domains":["example.com","example.net","example.org"]}
  1. Hosting the JSON File to the web, such as Gist and S3.

  2. Specify it in the environment variable CONFIG_URL.

ex. https://gist.githubusercontent.com/s-aska/03c41cf0d3f8b369cf0ae80d02a26c02/raw/3c742b80c4c1c7e79fb6705cda19808efb8048eb/config.json

Run

Local machine

git clone git@github.com:s-aska/ssl_certificate_exporter.git
cd s-aska/ssl_certificate_exporter
go build
env \
    PORT=9100 \
    CONFIG_URL="https://.../config.json" \
    ./ssl_certificate_exporter

Heroku

Deploy

Docker

docker pull aska/ssl_certificate_exporter

docker run -e PORT=9100 \
    -e CONFIG_URL="https://.../config.json" \
    -p 9100:9100 \
    --name ssl_certificate_exporter \
    --rm \
    aska/ssl_certificate_exporter

Reloading configuration

curl -X POST http://XXX.XXX.XXX.XXX:9100/-/reload

Grafana (example)

Query: ssl_certificate_expires
Legend format: {{domain}}
Axes Left Y Unit: seconds(s)

Grafana

FAQs

Package last updated on 14 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc