I am beginning to set up CouchDB on an Ubuntu 14.04 Server (yes, it expires next year) and I'm having troubles setting up SSL connections. For the moment, I don't have any CA signed certs for it, so I've been following the steps on the CouchDB docs. To list my changes to the config file: I have essentially kept them as the default except I set the bind address to to be accessible over the network, and I moved my database_dir and view_index_dir to another path. For the SSL part, I followed the documentation precisely step-by-step, and restarted the couch service. From localhost, I get the response I expect:

user@ubuntu:/etc/couchdb# curl -k

Now, when I try to access the server over the network (which right now is just me accessing a VM from the host, having tried a bridged and host-only adapter in VBox):

courtney@host:~$ curl -k
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to

At this point, I'm not sure what I'm missing. Is the documentation inaccurate? Or perhaps some packages I'm missing? I installed couch from the PPAs

1 Answer 1


Solved the issue. I'm not sure what the cause was, but this was an error that was specific to me using doing TLS and couch in a VM. I spun up a VPS and tried it there and the problem was completely gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.