Skip to content

Commit

Permalink
ssl enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyphantom committed Nov 27, 2018
1 parent d064c7e commit f1c1681
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
password = os.getenv('MYSQL_PASSWORD')
database = os.getenv('MYSQL_DATABASE')

conn = pymysql.connect(
host=host,
port=int(3306),
user=user,
passwd=password,
db=database)
conn = pymysql.connect(user=user,
password=password,
database=database,
port=int(3306),
host=host,
ssl = {'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})

# create the configuration class
class Config():
Expand Down

0 comments on commit f1c1681

Please sign in to comment.