File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22//
33// go run certcheck.go https://chrisshort.net
44//
5- // go run certcheck.go https://chrisshort.net
5+ // go run certcheck.go https://chrisshort.net 90
66package main
77
88import (
@@ -23,7 +23,7 @@ import (
2323
2424func main () {
2525 if len (os .Args ) < 2 || len (os .Args ) > 3 {
26- fmt .Println ("Please provide a URL (include https://) and an optional number of days" )
26+ fmt .Println ("Please provide a URL (include https://) and an optional number of days to highlight expiring certificates " )
2727 os .Exit (1 )
2828 }
2929
@@ -44,7 +44,8 @@ func main() {
4444
4545 tr := & http.Transport {
4646 TLSClientConfig : & tls.Config {
47- // This is required to allow self-signed certificates
47+ // This is required to allow self-signed certificates to be checked
48+ // It's my opinion that this is a bad idea, but it's the only way to accommodate some users
4849 InsecureSkipVerify : true ,
4950 },
5051 }
You can’t perform that action at this time.
0 commit comments