首页 > 解决方案 > CouchDB 未通过 SSL 连接

问题描述

我在 AWS 上的 EC2 上的 Ubuntu 服务器上安装了 CouchDB。

然后,我通过 Let's Encrypt 获得了 SSL 证书。

我编辑了 local.ini 文件以启用 SSL 并指向证书文件。

我在 EC2 实例上打开了端口 6984。

我重新启动了 CouchDB。

但是,我仍然无法通过 SSL 访问它:(

任何帮助都会摇滚!

这是我的卷发

$ curl https://example.com:6984 -v
*   Trying ip.add.re.ss...
* TCP_NODELAY set
* Connected to example.com (ip.add.re.ss) port 6984 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /path/to/certs/ca-certificates.crt
  CApath: /path/to/certs
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to example.com:6984 
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to example.com:6984 

一些帮助会动摇。

标签: sslamazon-ec2couchdb

解决方案


推荐阅读