enhance: save certificate before renew #723

This commit is contained in:
Jacky 2024-11-16 10:51:35 +08:00
parent e6998feca4
commit f4c17f0c65
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
9 changed files with 23 additions and 18 deletions

View file

@ -4,7 +4,7 @@ import "github.com/go-acme/lego/v4/certcrypto"
func GetKeyType(keyType certcrypto.KeyType) certcrypto.KeyType {
switch keyType {
case certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096,
case certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096, certcrypto.RSA8192,
certcrypto.EC256, certcrypto.EC384:
return keyType
}