diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-25 21:53:19 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-05-25 21:53:19 +0200 |
commit | b6ee07c7efbb818787deba20116f4289853fb5c9 (patch) | |
tree | 9868259a9aa3eb2dfd48dab98a87a77ecbadb4ee /interface-definitions/service_ipoe-server.xml.in | |
parent | 609563d6acfeafbed46b1ac5e6bd497ce097e3bc (diff) | |
download | vyos-1x-b6ee07c7efbb818787deba20116f4289853fb5c9.tar.gz vyos-1x-b6ee07c7efbb818787deba20116f4289853fb5c9.zip |
op-mode: T6400: pki: unable to generate fingerprint for ACME issued certificates
This fixes (for and ACME generated certificate)
vyos@vyos:~$ show pki certificate vyos fingerprint sha512
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/pki.py", line 1081, in <module>
show_certificate_fingerprint(args.certificate, args.fingerprint)
File "/usr/libexec/vyos/op_mode/pki.py", line 934, in show_certificate_fingerprint
print(get_certificate_fingerprint(cert, hash))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/pki.py", line 76, in get_certificate_fingerprint
fp = cert.fingerprint(hash_algorithm)
^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'fingerprint'
After the fix:
vyos@vyos# run show pki certificate vyos fingerprint sha256
10:2C:EF:2C:DA:7A:EE:C6:D7:8E:53:12:F0:F5:DE:B9:E9:D0:6C:B4:49:1C:8B:70:2B:D9:AF:FC:9B:75:A3:D2
Diffstat (limited to 'interface-definitions/service_ipoe-server.xml.in')
0 files changed, 0 insertions, 0 deletions