mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix: wildcard certificate challenge method not present
This commit is contained in:
parent
f727218a28
commit
97ec26331b
4 changed files with 46 additions and 4 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
func autoCertKeyType(fl val.FieldLevel) bool {
|
||||
switch certcrypto.KeyType(fl.Field().String()) {
|
||||
case certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096,
|
||||
case "", certcrypto.RSA2048, certcrypto.RSA3072, certcrypto.RSA4096,
|
||||
certcrypto.EC256, certcrypto.EC384:
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue