我在Windows 64bit服务器2012 R2上运行CouchDB 1.6.1,通常我们使用nginx来管理SSL,但这次我尝试直接使用CouchDB.我们的SSL是GlobalSign组织SSL,我有来自提供商的证书,私钥和中间证书.我已经设置了我的local.ini如下:
[daemons]
; enable SSL support by uncommenting the following line and supply the PEM's below.
; the default ssl port CouchDB listens on is 6984
httpsd = {couch_httpd, start_link, [https]}
[ssl]
cert_file = ../ssl/organizational.crt
key_file = ../ssl/privatekeyfile.key
; set to true to validate peer certificates
;verify_ssl_certificates = false
; Path to file containing PEM encoded CA certificates (trusted
; certificates used for verifying a peer certificate). May be omitted if
; you do not want to …Run Code Online (Sandbox Code Playgroud)