Unable to renew PKI certificate 1.4-rolling-202302150317

Hi Vyos devs,

I’m trying to renew my certificate for openconnect however I’m facing the issue below when I commit the config, outputs of the issue:

yos@lab# delete pki certificate mycert
[edit]
vyos@lab# set pki certificate mycert certificate MIIF----output omitted—Lw=
[edit]
vyos@lab# set pki certificate mycert private key MIIE----output omitted----uIA==
[edit]
vyos@lab# commit
pki: Updating config: vpn openconnect ssl certificate dmit.com.br
[ pki ]
pki: Updating config: vpn openconnect ssl certificate dmit.com.br
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):

When reporting problems, please include as much information as possible:

  • do not obfuscate any data (feel free to contact us privately if your
    business policy requires it)
  • and include all the information presented below

Report time: 2023-02-22 04:01:02
Image version: VyOS 1.4-rolling-202302150317
Release train: current

Built by: autobuild@vyos.net
Built on: Wed 15 Feb 2023 03:17 UTC
Build UUID: e62b2d4d-c09c-4dd6-a722-884b782e4d13
Build commit ID: 5207b6f510d677

Architecture: x86_64
Boot via: installed image
System type: VMware guest

Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-56 4d c7 62 3a b5 bb 1d-b9 5d 75 20 89 82 c2 63
Hardware UUID: 62c74d56-b53a-1dbb-b95d-75208982c263

Traceback (most recent call last):
File “/usr/libexec/vyos/conf_mode/pki.py”, line 305, in
apply(c)
File “/usr/libexec/vyos/conf_mode/pki.py”, line 296, in apply
call_dependents()
File “/usr/lib/python3/dist-packages/vyos/configdep.py”, line 95, in call_dependents
f()
File “/usr/lib/python3/dist-packages/vyos/configdep.py”, line 78, in func_impl
run_config_mode_script(script, config)
File “/usr/lib/python3/dist-packages/vyos/configdep.py”, line 65, in run_config_mode_script
c = mod.get_config(config)
TypeError: get_config() takes 0 positional arguments but 1 was given

[[pki]] failed
Commit failed

[edit]
vyos@lab#

Please let me know if any other output or test is required.

Thanks!

Thanks, I’ve made a bug report here ⚓ T5023 PKI commit fails to update dependents

Should be fixed in the next rolling image.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.