Hello dear sirs,
I’m using VyOS 1.5-rolling-202501110007 as a Remote Access VPN server (OpenConnect) with HTTPS certificate from Let’s encrypt. Everything works like a charm and I can see in logs that certificate is renewed by systemd certbot.timer.
$ show pki certificate
Certificates:
Name Type Subject CN Issuer CN Issued Expiry Revoked Private Key CA Present
---------------- ------ ---------------- ----------- ------------------- ------------------- --------- ------------- --------------------------------
LE-vpn.xxxxxx.xx Server CN=vpn.xxxxxx.xx CN=R10 2025-03-15 16:02:17 2025-06-13 16:02:16 No Yes Yes (AUTOCHAIN_LE-vpn.xxxxxx.xx)
But I see some error in logs:
Mar 15 20:00:49 vpn certbot[3832988]: Hook 'post-hook' reported error code 2
Mar 15 20:00:49 vpn certbot[3832988]: Hook 'post-hook' ran with error output:
Mar 15 20:00:49 vpn certbot[3832988]: /opt/vyatta/share/vyatta-cfg/functions/interpreter/vyatta-cfg-run: line 162: `vyatta_config_commit-confirm': not a valid identifier
And OpenConnect actually uses old but not renewed certificate (and I see old cert in browser while connecting to host using HTTPS):
$ openssl x509 -in /run/ocserv/cert.pem -noout -dates | grep After
notAfter=Apr 14 12:33:45 2025 GMT
I think that problem will go away after another commit of config so that’s why I report it here now. What other diagnostics should I do and attach here?
Thanks for your business and such a great product, as always
Regards,
Konstantin