我应该在哪里存储公钥? [英] Where should I store the Public Key?

查看:106
本文介绍了我应该在哪里存储公钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Web应用程序具有不断运行的服务,可以将报告发送到ftp服务器,该文件需要使用公钥进行加密.因此,我的问题是我应该将公钥存储在哪里?我只有一个公钥,所以使用高级密钥库似乎有些过分?

My web application have a continuously running service to send a report to a ftp server, the file need to be encrypted by using a Public Key. Thus my question is where should I store the Public Key? I only have one Public Key so using an advanced Key Store seems to be overkill?

我应该在服务器上手动创建一个文件夹并将其存储在其中吗?

Should I just manually create a folder on the server and store it in there?

推荐答案

存储公钥(或更可能是包含公钥的证书)并不重要.重要的是私钥的位置.那应该位于理想情况下只能由Web应用程序访问的存储中.

Storage of the public key (or more likely a certificate containing it) isn't the part that matters. What matters is the location of the private key. That should be located in storage which is ideally only accessible by the web application.

这篇关于我应该在哪里存储公钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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