Skip to content

Commit

Permalink
The rename
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-short committed Jul 4, 2023
1 parent d4cdbc3 commit 641140f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions chkcerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// go run certcheck.go https://chrisshort.net
//
// go run certcheck.go https://chrisshort.net
// go run certcheck.go https://chrisshort.net 90
package main

import (
Expand All @@ -23,7 +23,7 @@ import (

func main() {
if len(os.Args) < 2 || len(os.Args) > 3 {
fmt.Println("Please provide a URL (include https://) and an optional number of days")
fmt.Println("Please provide a URL (include https://) and an optional number of days to highlight expiring certificates")
os.Exit(1)
}

Expand All @@ -44,7 +44,8 @@ func main() {

tr := &http.Transport{
TLSClientConfig: &tls.Config{
// This is required to allow self-signed certificates
// This is required to allow self-signed certificates to be checked
// It's my opinion that this is a bad idea, but it's the only way to accommodate some users
InsecureSkipVerify: true,
},
}
Expand Down

0 comments on commit 641140f

Please sign in to comment.