Skip to content

Commit

Permalink
Merge pull request #427 from vancluever/cert-use-modern-pkcs12
Browse files Browse the repository at this point in the history
r/cert: use modern PKCS12 encryption
  • Loading branch information
vancluever authored Jul 31, 2024
2 parents a3c30be + d343e35 commit 515561f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme/acme_structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func bundleToPKCS12(bundle, key []byte, password string) ([]byte, error) {
return nil, err
}

pfxData, err := pkcs12.Encode(rand.Reader, pk, cb[0], cb[1:], password)
pfxData, err := pkcs12.Modern2023.Encode(pk, cb[0], cb[1:], password)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 515561f

Please sign in to comment.