Skip to content

Commit

Permalink
Merge branch 'main' into init
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan authored Oct 5, 2022
2 parents e41e4cb + 1878c81 commit d45fe67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func getEncodedCertificate(credentialsFolderPath string) (encodedCert []string,
log.Warn("Was not able to read the certificateChain file.", err)
return encodedCert, err
}

certString := strings.ReplaceAll(string(cert), "-----END CERTIFICATE-----", "")
certArray := strings.Split(certString, "-----BEGIN CERTIFICATE-----")

Expand Down

0 comments on commit d45fe67

Please sign in to comment.