简体   繁体   English

如何将密钥库添加到Eclipse项目

[英]How to add a keystore to an Eclipse project

I've asked a similar question not too long ago, but I feel like I didn't ask it correctly. 我不久前问过一个类似的问题,但是我觉得我没有正确地问过。 I've been tasked with creating a project that consumes a web service. 我的任务是创建一个使用Web服务的项目。 This web service requires a certificate to send ajax calls to. 此Web服务需要证书才能向其发送Ajax调用。 My team member sent me a jks file that contains the relevant cert, but I'm unsure on how to actually add it to my eclipse project, and I can't find any information through searches. 我的团队成员向我发送了一个包含相关证书的jks文件,但是我不确定如何将其实际添加到我的Eclipse项目中,并且我无法通过搜索找到任何信息。

How do I add the keystore to my project so that I have the necessary PKC and AC to make AJAX calls? 如何将密钥库添加到项目中,以便拥有进行AJAX调用所需的PKC和AC?

The keystore (with certificate) should be included/assigned in your Tomcat instance. 密钥库(带有证书)应该包含在/分配给Tomcat实例中。 Use the following link to do so: 使用以下链接可以这样做:

http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM