From 9cc3c96f6a1a5e3988e04b81a76b3d52912afd59 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 8 Apr 2025 10:40:07 -0400 Subject: [PATCH] Fetch fingerprint before credentials Some implementations choose to close the certificate command after granting user/password. Make sure we get the certificate first. --- misc/prepfish.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/prepfish.py b/misc/prepfish.py index 5c6ece7a..921108f1 100644 --- a/misc/prepfish.py +++ b/misc/prepfish.py @@ -285,6 +285,7 @@ def store_redfish_cert(bmc): certout.write(peercert) def main(): + get_redfish_fingerprint() bmcuser, bmcpass = get_redfish_creds() bmc = enable_host_interface() store_redfish_cert(bmc)