2020-10-21

ssl配置问题

下载的证书包含文件

7294a123010008fb.crt

7294a123010008fb.pem

gd_bundle-g2-g1.crt

其中7294a123010008fb.crt和7294a123010008fb.pem内容相同。已经尝试不同的组合但是都无法在flask中启用。这是为什么呢?我应该如何配置呢?

app.run(debug=options.debug, port=options.port, ssl_context=(r"d:/7294a123010008fb.crt",r"d:/gd_bundle-g2-g1.crt",))

https://q.cnblogs.com/q/129544/

发表回复

Your email address will not be published. Required fields are marked *