mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
enhance: save certificate before renew #723
This commit is contained in:
parent
e6998feca4
commit
f4c17f0c65
9 changed files with 23 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue