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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user