-
DescriptionSo I am running couchdb on windows10 pro, installed via msi v3.1.1, after I generated selfsigned certs, updated local.ini and restarted service requests to http://127.0.0.1:6984 end up with connection reset error. I tried to generate same certificates on linux with same version of couchdb and it worked right away. I also tried to find any relevant logs for couchdb working, but only one file looks like log is C:\Program Files\Couch DB\var\logs\couchdb, which always have only one line: New log. Changing log level not helped a bit, looking into AppData direcrtories for all users not showed any sign of couchdb generated folders with data (must be I missed something here as db have to save its files somewhere!) Steps to Reproducemsiexec /i apache-couchdb-3.1.1.msi /quiet ADMINUSER=admin ADMINPASSWORD=hunter2 /norestart Expected BehaviourOn windows 10 ssl should work same normally as on linux and logs produced telling if ssl files found, loaded or there some problemd with them. Your Environment
Additional ContextAll actions with couchdb made with administrator rights (couchdb install, ssl certs genertion) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @Cherviakov , The issue is that CouchDB (and Erlang) expects keys in a very specific format. If you try the walkthrough in our documentation, does it still fail for you? |
Beta Was this translation helpful? Give feedback.
-
Tired exactly like in docs, got same problem. |
Beta Was this translation helpful? Give feedback.
-
Also https://www.openssl.org/docs/HOWTO/certificates.txt this link give error 404 page not found. |
Beta Was this translation helpful? Give feedback.
-
Made some more experiments, it appears to be problem with path in Windows containing spaces, like "C:\Program Files", when moved to "C:\Users\Me" then all worked. But then how to sepcify in windows path with spaces as there it is quite a usual matter? Please provide examples for windows as well. Also still not sure where to check couchdb logs in windows And finally, format of ssl certs requires openssl to be installed, please specify version of openssl to use (would be good with link to download for windows). If there actually way to use New-SelfSignedCertificate cmdlet it would be even better, as it is present out of the box on windows. |
Beta Was this translation helpful? Give feedback.
Made some more experiments, it appears to be problem with path in Windows containing spaces, like "C:\Program Files", when moved to "C:\Users\Me" then all worked.
But then how to sepcify in windows path with spaces as there it is quite a usual matter? Please provide examples for windows as well.
Also still not sure where to check couchdb logs in windows
And finally, format of ssl certs requires openssl to be installed, please specify version of openssl to use (would be good with link to download for windows). If there actually way to use New-SelfSignedCertificate cmdlet it would be even better, as it is present out of the box on windows.