From c4f6d3489ef91c539ba88e372635e4d0d87e6ad2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 18 Nov 2016 01:21:27 -0500 Subject: Check crt.sh against actual used certs --- Makefile | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 15d69da..157fd34 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,22 @@ -all: certs.html +all: index.html -pem2html: %: %.go +index.html: crtsh.html + cp $< $@ + +%: %.go go build $< -certs.pem: getcerts domains.txt NET-crt.sh - ./getcerts $$(cat domains.txt) > $@ +crtsh.pem: crtsh-getcerts config-domains.txt NET-crtsh + ./crtsh-getcerts $$(cat config-domains.txt) > $@ + +crtsh.html: %.html: %.pem crtsh-pem2html + ./crtsh-pem2html < $< > $@ + +tls.pem: tls-getcerts config-servers.txt NET-tls + ./tls-getcerts $$(cat config-servers.txt) > $@ -certs.html: %.html: %.pem pem2html - ./pem2html < $< > $@ +diff.txt: diff tls.pem crtsh.pem + ./diff tls.pem crtsh.pem > $@ NET-%: date > $@ -- cgit v1.2.3