diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-10-07 16:07:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 16:07:52 +0100 |
commit | 09a4b463bf1c4b87832039f2c1d868a6c1d9c4f9 (patch) | |
tree | 76cd9c6c41b65efaa2a12e06d5a17a28badab066 /src/op_mode | |
parent | 2f554aee334c8e52f1a22ea16acf9479d9812ea6 (diff) | |
parent | 875764b07f937fc599e2e62c667e7b811ddc2ed3 (diff) | |
download | vyos-1x-09a4b463bf1c4b87832039f2c1d868a6c1d9c4f9.tar.gz vyos-1x-09a4b463bf1c4b87832039f2c1d868a6c1d9c4f9.zip |
Merge pull request #4118 from c-po/acme-ca-cert
pki: T6481: auto import ACME certificate chain into CLI
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/pki.py | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/op_mode/pki.py b/src/op_mode/pki.py index ab613e5c4..5652a5d74 100755 --- a/src/op_mode/pki.py +++ b/src/op_mode/pki.py @@ -26,13 +26,22 @@ from cryptography.x509.oid import ExtendedKeyUsageOID from vyos.config import Config from vyos.config import config_dict_mangle_acme -from vyos.pki import encode_certificate, encode_public_key, encode_private_key, encode_dh_parameters +from vyos.pki import encode_certificate +from vyos.pki import encode_public_key +from vyos.pki import encode_private_key +from vyos.pki import encode_dh_parameters from vyos.pki import get_certificate_fingerprint -from vyos.pki import create_certificate, create_certificate_request, create_certificate_revocation_list +from vyos.pki import create_certificate +from vyos.pki import create_certificate_request +from vyos.pki import create_certificate_revocation_list from vyos.pki import create_private_key from vyos.pki import create_dh_parameters -from vyos.pki import load_certificate, load_certificate_request, load_private_key -from vyos.pki import load_crl, load_dh_parameters, load_public_key +from vyos.pki import load_certificate +from vyos.pki import load_certificate_request +from vyos.pki import load_private_key +from vyos.pki import load_crl +from vyos.pki import load_dh_parameters +from vyos.pki import load_public_key from vyos.pki import verify_certificate from vyos.utils.io import ask_input from vyos.utils.io import ask_yes_no |