Skip to content

Commit

Permalink
Merge pull request ajenti#1185 from tberanek/patch-1
Browse files Browse the repository at this point in the history
Update ssl_version to PROTOCOL_TLSv1_2
  • Loading branch information
Eugeny authored Aug 20, 2019
2 parents dd36ab4 + c1e3f0e commit 302aa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajenti/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def cmd_list_instances_session():
ssl_args = {}
if ajenti.config.tree.ssl.enable:
ssl_args['certfile'] = ajenti.config.tree.ssl.certificate_path
ssl_args['ssl_version'] = gevent.ssl.PROTOCOL_TLSv1
ssl_args['ssl_version'] = gevent.ssl.PROTOCOL_TLSv1_2
logging.info('SSL enabled: %s' % ssl_args['certfile'])

ajenti.server = SocketIOServer(
Expand Down

0 comments on commit 302aa87

Please sign in to comment.