2015-10-17 58 views
0

我对自签名SSL证书有疑问。我想让我的heroku机器连接到AWS DB(通过一个负载均衡器),但我想通过HTTPS来实现,而且我想要使用一个自我管理的工具,签署的证书。Neo4j gem https with self-signed certificate

虽然我知道如何配置服务器端,但我还想确保客户端使用相同的证书进行安全通信。是否有一些配置可以指定我的公共证书密钥以确保连接安全(并且不存在中间人攻击)?

回答

0

您需要更改Neo4j设置。

# Certificate location (auto generated if the file does not exist) 
org.neo4j.server.webserver.https.cert.location=<path_to_certificate> 

# Private key location (auto generated if the file does not exist) 
org.neo4j.server.webserver.https.key.location=<path_to_key> 

下面是详细信息 - http://neo4j.com/docs/stable/security-server.html#security-server-https

+0

谢谢您的回答@MicTech - 它可能不是一直在清楚我的问题,但我实际上指的是事物的客户端 - 确保客户端配置为还将该证书识别为官方证书。解决了我的问题,使之更加清晰;) –