flask 使用配置证书,证书路径自行修改

from flask import

Flask app = Flask(__name__) app.run('0.0.0.0', debug=True, port=8100, ssl_context=('/Users/kracekumarramaraju/certificates/server.crt', '/Users/kracekumarramaraju/certificates/server.key'))

posted @ 2017-12-20 21:05  爱吃醋的工程师  阅读(405)  评论(0编辑  收藏  举报