Skip to content

Commit 641140f

Browse files
committed
The rename
1 parent d4cdbc3 commit 641140f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

chkcerts.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
66
package main
77

88
import (
@@ -23,7 +23,7 @@ import (
2323

2424
func 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
}

0 commit comments

Comments
 (0)