handled cfssl-key type error
This commit is contained in:
parent
8e04aa1bd3
commit
8be8c95b17
|
@ -56,7 +56,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
|
||||||
try:
|
try:
|
||||||
hex_key = current_app.config.get("CFSSL_KEY")
|
hex_key = current_app.config.get("CFSSL_KEY")
|
||||||
key = bytes.fromhex(hex_key)
|
key = bytes.fromhex(hex_key)
|
||||||
except (ValueError, NameError):
|
except (ValueError, NameError, TypeError):
|
||||||
# unable to find CFSSL_KEY in config, continue using normal sign method
|
# unable to find CFSSL_KEY in config, continue using normal sign method
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue