This commit is contained in:
v-kaywon 2017-07-24 17:29:25 -07:00 committed by Jenny Tam
parent c8e2cc3f1d
commit 2eb652cdcd

View file

@ -49,9 +49,10 @@ def setupAE( conn_options, dbname ):
print("**********In setupAE**********")
if platform.system() == 'Windows':
# import self signed certificate
dir_name = os.path.realpath(__file__)
cert_name = os.path.join(dir_name, "PHPcert.pfx")
inst_command = "certutil -user -p '' -importPFX My " + cert_name + " NoRoot"
#dir_name = os.path.realpath(__file__)
#cert_name = os.path.join(dir_name, "PHPcert.pfx")
#inst_command = "certutil -user -p '' -importPFX My " + cert_name + " NoRoot"
inst_command = "certutil -user -p '' -importPFX My PHPcert.pfx NoRoot"
print("**********In Windows**********")
print(inst_command)
executeCommmand(inst_command)