Skip to content

Commit

Permalink
fix: optimize argument handling with csr (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff authored Jan 31, 2025
1 parent 0cba89b commit f53fe5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/genCert.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ var genCertCmd = &cobra.Command{
genCertConfig.Domains = dnsnames
}

genCertConfig.Csr = strings.ReplaceAll(genCertConfig.Csr, "\\n", "\n")
requester, err := client.NewClient(genCertConfig.RequesterEmail, genCertConfig.RequesterPassword, genCertConfig.RequesterTOTPSeed, client.WithDebug(debug))
if err != nil {
slog.Error("failed to create requester client", slog.Any("error", err))
Expand Down

0 comments on commit f53fe5a

Please sign in to comment.