This commit is contained in:
v-kaywon 2017-07-24 17:40:01 -07:00 committed by Jenny Tam
parent 2eb652cdcd
commit 1d838ea887

View file

@ -46,15 +46,9 @@ def executeBulkCopy(conn_options, dbname, tblname, datafile):
executeCommmand(inst_command)
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"
inst_command = "certutil -user -p '' -importPFX My PHPcert.pfx NoRoot"
print("**********In Windows**********")
print(inst_command)
executeCommmand(inst_command)
# create Column Master Key and Column Encryption Key
executeSQLscript('ae_keys.sql', conn_options, dbname)