2015-10-17 60 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 - 它可能不是一直在清楚我的問題,但我實際上指的是事物的客戶端 - 確保客戶端配置爲還將該證書識別爲官方證書。解決了我的問題,使之更加清晰;) –