Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to disable the existing HTTP layer completely, so only allowing HTTPS access - albeit not cleanly, by amending /usr/local/etc/couchdb/default.ini [daemons ]  section accordingly:```

Code Block
title/usr/local/etc/couchdb/default.ini
[daemons]

...


; find the following line and prepend a ; to comment it out
;httpd={couch_httpd, start_link, []}

```

...

Currently it is not possible to disable it in the more common /usr/local/etc/couchdb/local.ini [daemons ]  file.

Accessing and Verifying SSL

By default, CouchDB uses port 6984 for HTTPS. If our server lives locally, we can verify SSL works properly by accessing this URL:

...