我在AWS的EC2上的Ubuntu服务器上安装了CouchDB。
然后,我通过“让我们加密”获得了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
有些帮助会动摇。