2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-14 04:41:29 +00:00

Await creation of the certificate

This commit is contained in:
Jarrod Johnson
2026-04-13 16:05:55 -04:00
parent f2ce13253f
commit 9d17102f60

View File

@@ -569,7 +569,7 @@ class IpmiHandler:
certfile = tempfile.NamedTemporaryFile(delete=False)
certname = certfile.name
certfile.close()
certutil.create_certificate(None, certname, tmpfile.name, subj, san, backdate=False,
await certutil.create_certificate(None, certname, tmpfile.name, subj, san, backdate=False,
days=self.inputdata.get_days(self.node))
with open(certname, 'rb') as certf:
cert = certf.read()