-#!/usr/bin/python
-#
# Copyright (C) 2014 Simo Sorce <simo@redhat.com>
#
# see file 'COPYING' for use and warranty information
proc = Popen(command)
proc.wait()
+ def import_cert(self, certfile, keyfile):
+ self.cert = certfile
+ self.key = keyfile
+
def get_cert(self):
if not self.cert:
raise ValueError('Certificate unavailable')