Windows上的Flask Web服务器如何使用Windows证书存储中的SSL证书? [英] How can a Flask web server on Windows use an SSL Certificate from the Windows certificate store?

查看:55
本文介绍了Windows上的Flask Web服务器如何使用Windows证书存储中的SSL证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大多数Flask的SSL示例都要求私钥位于文件系统上.我们发现这种不安全感.

Most SSL examples for Flask require that the private key be on the file system. We find that insecure.

Flask如何从Windows证书存储区加载SSL证书?

How can Flask load the SSL certificate from the Windows certificate store?

推荐答案

我们通过使用IIS作为反向代理来解决,如下所示:

We solved by using IIS as a reverse proxy, as doced here:

https://developers.coveo.com/display/public/SearchREST/Configuring + HTTPS + Reverse + Proxy + in + IIS

在这里

https://weblogs.asp.net/owscott/为iis创建一个反向代理与URL重写

这篇关于Windows上的Flask Web服务器如何使用Windows证书存储中的SSL证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆