summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-28 22:54:20 -0700
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-28 22:54:20 -0700
commit6d0038fa279324124fffa44b442fe7692f2aa50b (patch)
tree492599650f243c67716f422434b48f8b4d816c29
parent86ef53f5f21a36b0ad3ecaae668edc78926805b3 (diff)
Track Andrew's certs to avoid phone calls late at night.
Avoid displaying them in the crtsh table because there are so many and it breaks layout.
-rw-r--r--config-domains.txt1
-rw-r--r--config-sockets.txt1
-rw-r--r--crtsh-pem2html.go2
3 files changed, 4 insertions, 0 deletions
diff --git a/config-domains.txt b/config-domains.txt
index 390a92e..84b2bc9 100644
--- a/config-domains.txt
+++ b/config-domains.txt
@@ -2,3 +2,4 @@ parabola.nu
parabolagnulinux.org
lukeshu.com
team4272.com
+andrewdm.me
diff --git a/config-sockets.txt b/config-sockets.txt
index f121636..c064f2b 100644
--- a/config-sockets.txt
+++ b/config-sockets.txt
@@ -4,3 +4,4 @@ tcp://winston.parabola.nu:443
tcp://lukeshu.com:443
tcp://team4272.com:443
tcp://parabola.nu:5222/xmpp
+tcp://andrewdm.me:443
diff --git a/crtsh-pem2html.go b/crtsh-pem2html.go
index ebdb6ac..78fd97f 100644
--- a/crtsh-pem2html.go
+++ b/crtsh-pem2html.go
@@ -44,6 +44,7 @@ var tmpl = template.Must(template.New("pem2html").
<th>Issuer.O</th>
</tr>
{{range $cert := .certs}}
+{{if eq $cert.X509.Subject.CommonName "andrewdm.me"|not}}
<tr>
<td style="background-color: {{$cert.Updated | green}}"><a target="_blank" href="{{$cert.Url}}">{{$cert.Updated | date}}</a></td>
<td style="background-color: {{$cert.X509.NotBefore | green}}"><a target="_blank" href="{{$cert.Url}}">{{$cert.X509.NotBefore | date}}</a></td>
@@ -52,6 +53,7 @@ var tmpl = template.Must(template.New("pem2html").
<td><a target="_blank" href="{{$cert.Url}}">{{$cert.X509.Issuer.Organization}}</a></td>
</tr>
{{end}}
+{{end}}
</table>
`))