mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
fix: rsa 8192 certificate deploy issue #626
This commit is contained in:
parent
2a9ac5dbc6
commit
ef7be186c4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
func autoCertKeyType(fl val.FieldLevel) bool {
|
func autoCertKeyType(fl val.FieldLevel) bool {
|
||||||
switch certcrypto.KeyType(fl.Field().String()) {
|
switch certcrypto.KeyType(fl.Field().String()) {
|
||||||
case "", certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096,
|
case "", certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096, certcrypto.RSA8192,
|
||||||
certcrypto.EC256, certcrypto.EC384:
|
certcrypto.EC256, certcrypto.EC384:
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue