【Flask】run with ssl /https

pip install pyOpenSSL

flask run --cert="adhoc"

https://juejin.im/post/5b83c569f265da436152f7d5

http://www.mamicode.com/info-detail-1796268.html

 

flask run --cert=cert.pem --key=key.pem

"server/server-cert.pem",
        "server/server-key.pem")
flask run --cert=ca/server-cert.pem  --key=ca/server-key.pem

posted on 2020-05-26 22:10  colipso  阅读(265)  评论(0编辑  收藏  举报

导航