如何为我们的服务器生成信号开源安卓应用程序的自签名证书



我构建 https://github.com/WhisperSystems/Signal-Android 开源应用程序,并在亚马逊上设置后端 https://github.com/WhisperSystems/Signal-Server。

我在安卓应用程序上遇到一个问题,我收到错误

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for 找不到证书路径。

因为我正在使用耳语服务器 whisper.store 文件。我需要相同的文件才能让我的服务器工作。我认为这就像固定的自签名证书。

请指导我如何做到这一点。

您必须打开 whisper.store 并在其中添加服务器证书。

最新更新