This commit is contained in:
@@ -103,7 +103,7 @@ func loadLdapCert() {
|
||||
// Get the certificate from the file
|
||||
cpb, _ := pem.Decode(cf)
|
||||
crt, err := x509.ParseCertificate(cpb.Bytes)
|
||||
//fmt.Printf("Loaded certificate with subject %s\n", crt.Subject)
|
||||
//log.Printf("Loaded certificate with subject %s\n", crt.Subject)
|
||||
|
||||
if err != nil {
|
||||
log.Printf("LoadLdapCert error processing LDAP certificate file '%s' : '%s'\n", ldapCertFile, err)
|
||||
|
Reference in New Issue
Block a user