You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Rogutės Sparnuotos (Created JIRA)" <ji...@apache.org> on 2011/10/30 23:05:32 UTC
[jira] [Created] (COUCHDB-1325) verify_ssl_certificates in
local.ini's [ssl] section doesn't work?
verify_ssl_certificates in local.ini's [ssl] section doesn't work?
------------------------------------------------------------------
Key: COUCHDB-1325
URL: https://issues.apache.org/jira/browse/COUCHDB-1325
Project: CouchDB
Issue Type: Bug
Affects Versions: 1.2
Reporter: Rogutės Sparnuotos
Priority: Minor
The shipped local.ini has this:
[ssl]
verify_ssl_certificates = false
When I add a cert_file and a key_file, and enable https in [daemons], couchdb refuses to start:
"Verify SSL certificate enabled but file containing PEM encoded CA certificates is missing".
The funny thing is that CouchDB doesn't refuse to start when the "verify_ssl_certificates" line is commented out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COUCHDB-1325) verify_ssl_certificates in
local.ini's [ssl] section doesn't work?
Posted by "Dave Cottlehuber (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139807#comment-13139807 ]
Dave Cottlehuber commented on COUCHDB-1325:
-------------------------------------------
I believe that this is referring to the lack of a chain of validated certificates back to the root CA. I suggest you check http://www.rabbitmq.com/ssl.html#configure-erlang and see if you can export a suitable PEM cert file from one of the browsers, if your CA provider doesn't have one.
> verify_ssl_certificates in local.ini's [ssl] section doesn't work?
> ------------------------------------------------------------------
>
> Key: COUCHDB-1325
> URL: https://issues.apache.org/jira/browse/COUCHDB-1325
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Rogutės Sparnuotos
> Priority: Minor
> Attachments: debug_run.log
>
>
> The shipped local.ini has this:
> [ssl]
> verify_ssl_certificates = false
> When I add a cert_file and a key_file, and enable https in [daemons], couchdb refuses to start:
> "Verify SSL certificate enabled but file containing PEM encoded CA certificates is missing".
> The funny thing is that CouchDB doesn't refuse to start when the "verify_ssl_certificates" line is commented out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COUCHDB-1325) verify_ssl_certificates in
local.ini's [ssl] section doesn't work?
Posted by "Rogutės Sparnuotos (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rogutės Sparnuotos updated COUCHDB-1325:
----------------------------------------
Attachment: debug_run.log
Full log from the problematic run for general amusement (one can't stop being charmed by erlang's/couchdb's error reports).
> verify_ssl_certificates in local.ini's [ssl] section doesn't work?
> ------------------------------------------------------------------
>
> Key: COUCHDB-1325
> URL: https://issues.apache.org/jira/browse/COUCHDB-1325
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Rogutės Sparnuotos
> Priority: Minor
> Attachments: debug_run.log
>
>
> The shipped local.ini has this:
> [ssl]
> verify_ssl_certificates = false
> When I add a cert_file and a key_file, and enable https in [daemons], couchdb refuses to start:
> "Verify SSL certificate enabled but file containing PEM encoded CA certificates is missing".
> The funny thing is that CouchDB doesn't refuse to start when the "verify_ssl_certificates" line is commented out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (COUCHDB-1325) verify_ssl_certificates in
local.ini's [ssl] section doesn't work?
Posted by "Filipe Manana (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana updated COUCHDB-1325:
-----------------------------------
Attachment: couchdb-1325.patch
I had this same issue some time ago while making some tests with ssl enabled, didn't fixed it however. The change is trivial.
Here's the patch.
> verify_ssl_certificates in local.ini's [ssl] section doesn't work?
> ------------------------------------------------------------------
>
> Key: COUCHDB-1325
> URL: https://issues.apache.org/jira/browse/COUCHDB-1325
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Rogutės Sparnuotos
> Priority: Minor
> Attachments: couchdb-1325.patch, debug_run.log
>
>
> The shipped local.ini has this:
> [ssl]
> verify_ssl_certificates = false
> When I add a cert_file and a key_file, and enable https in [daemons], couchdb refuses to start:
> "Verify SSL certificate enabled but file containing PEM encoded CA certificates is missing".
> The funny thing is that CouchDB doesn't refuse to start when the "verify_ssl_certificates" line is commented out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (COUCHDB-1325) verify_ssl_certificates in
local.ini's [ssl] section doesn't work?
Posted by "Filipe Manana (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana resolved COUCHDB-1325.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2
Fix applied to master and branch 1.2.x
> verify_ssl_certificates in local.ini's [ssl] section doesn't work?
> ------------------------------------------------------------------
>
> Key: COUCHDB-1325
> URL: https://issues.apache.org/jira/browse/COUCHDB-1325
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Rogutės Sparnuotos
> Priority: Minor
> Fix For: 1.2
>
> Attachments: couchdb-1325.patch, debug_run.log
>
>
> The shipped local.ini has this:
> [ssl]
> verify_ssl_certificates = false
> When I add a cert_file and a key_file, and enable https in [daemons], couchdb refuses to start:
> "Verify SSL certificate enabled but file containing PEM encoded CA certificates is missing".
> The funny thing is that CouchDB doesn't refuse to start when the "verify_ssl_certificates" line is commented out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira