Skip to content

Commit

Permalink
feat: set keylength 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
pupilcc committed Jan 9, 2024
1 parent 77aff87 commit 9482002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/acme.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func Issue(name string) {
dns := os.Getenv("ACME_DNS")
alias := os.Getenv("ACME_ALIAS")

cmd := exec.Command(filepath.Join(usr.HomeDir, ".acme.sh/acme.sh"), "--issue", "--dns", dns, "-d", name, "--challenge-alias", alias)
cmd := exec.Command(filepath.Join(usr.HomeDir, ".acme.sh/acme.sh"), "--issue", "--dns", dns, "-d", name, "--challenge-alias", alias, "--keylength", "2048")
output, err := cmd.CombinedOutput()
if err != nil {
logger.Error("Running command failed", zap.String("error:", err.Error()))
Expand Down

0 comments on commit 9482002

Please sign in to comment.