Skip to content
Snippets Groups Projects
Unverified Commit 3a3a34d8 authored by Massimiliano Adamo's avatar Massimiliano Adamo
Browse files

minor change

parent 139c8727
Branches
Tags
No related merge requests found
Pipeline #970 passed
......@@ -73,7 +73,7 @@ func checkCertificates(dnsname string, certificate string, fullchain string, ca
certPEM, err := ioutil.ReadFile(certificate)
if err != nil {
if fail == true {
fmt.Printf("%v %v\n", errMsg, err)
fmt.Printf("%v could not access certificate %v\n", errMsg, err)
appExit(255)
} else {
return false
......@@ -83,7 +83,7 @@ func checkCertificates(dnsname string, certificate string, fullchain string, ca
certFullchainPEM, err := ioutil.ReadFile(fullchain)
if err != nil {
if fail == true {
fmt.Printf("%v %v\n", errMsg, err)
fmt.Printf("%v could not access full chain %v\n", errMsg, err)
appExit(255)
} else {
return false
......@@ -93,7 +93,7 @@ func checkCertificates(dnsname string, certificate string, fullchain string, ca
rootPEM, err := ioutil.ReadFile(ca)
if err != nil {
if fail == true {
fmt.Printf("%v %v\n", errMsg, err)
fmt.Printf("%v could not access full CA %v\n", errMsg, err)
appExit(255)
} else {
return false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment