From 81c135ba70919d036027d9ca0de4f39cc21dc7a8 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 16 Jan 2024 15:05:23 +0100 Subject: [PATCH] Only request X.509 certificates via VICI CRLs or OCSP responses can't be handled at the moment and cause an assertion error. --- strongMan/helper_apps/vici/wrapper/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strongMan/helper_apps/vici/wrapper/wrapper.py b/strongMan/helper_apps/vici/wrapper/wrapper.py index 060b53f..c120700 100644 --- a/strongMan/helper_apps/vici/wrapper/wrapper.py +++ b/strongMan/helper_apps/vici/wrapper/wrapper.py @@ -102,7 +102,7 @@ def get_certificates(self): :rtype: list ''' certificates = [] - for certificate in self.session.list_certs(): + for certificate in self.session.list_certs({"type": "X509"}): certificates.append(certificate) return certificates