summaryrefslogtreecommitdiff
path: root/data/vyos-configd-env-set
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-25 21:26:08 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-26 12:03:57 +0000
commit9f02740f063b0b4a2a83551155202a02b6e4bad0 (patch)
tree4e7864d79ea3da743acaa696c667815a9ea0a664 /data/vyos-configd-env-set
parent4a9befb92550ae9abd5cf687208fdb09838ccc9d (diff)
downloadvyos-1x-9f02740f063b0b4a2a83551155202a02b6e4bad0.tar.gz
vyos-1x-9f02740f063b0b4a2a83551155202a02b6e4bad0.zip
op-mode: T6377: must call pki.py helper as root to work with ACME certificates
This fixes the error: vyos@vyos:~$ show pki certificate Traceback (most recent call last): File "/usr/lib/python3/dist-packages/vyos/config.py", line 111, in config_dict_mangle_acme tmp = read_file(f'{vyos_certbot_dir}/live/{name}/cert.pem') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/vyos/utils/file.py", line 44, in read_file raise e File "/usr/lib/python3/dist-packages/vyos/utils/file.py", line 38, in read_file with open(fname, 'r') as f: ^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/config/auth/letsencrypt/live/vyos/cert.pem' (cherry picked from commit 65fba1cd27af67c543e120effc12882bd0191f03)
Diffstat (limited to 'data/vyos-configd-env-set')
0 files changed, 0 insertions, 0 deletions