Liviu Sosu
Liviu Sosu

Reputation: 1547

A TLS certificate is required in EventStore. What should I do?

I was following this tutorial and when I ran this command:

EventStore.ClusterNode.exe --db ./db --log ./logs

I got the exception shown here:

enter image description here

Since I am just playing with this software, I cannot contact their support. I would avoid for now setting to development mode.

I am not using Docker, just plain cmd in administrator mode on a Windows 10 (Home Edition) x64.

I never worked correctly with any certificates, and after googling I got stuck. What can I do to fix this? It is not a matter of programming, rather something of setting up.

Upvotes: 1

Views: 2255

Answers (3)

aseman arabsorkhi
aseman arabsorkhi

Reputation: 362

The following command will start the EventStoreDB node using default HTTP port, without security.

docker run --name esdb-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore:latest --insecure --run-projections=All

Clicl here for more details

Upvotes: 0

akbar
akbar

Reputation: 773

I use --insecure tag when start EventStore.ClusterNode.exe with cmd like this:

EventStore.ClusterNode.exe --insecure

Upvotes: 1

Alexey Zimarev
Alexey Zimarev

Reputation: 19630

You are trying to use EventStoreDB 20.6 using the previous release docs. The banner on the top of the page shows it:

enter image description here

I have to admit that new docs don't explain the certificate story well enough (or, like, almost not at all), but the C# gRPC client Quick Tour gives you some instructions for Docker. I'd say that even if you aren't using Docker, you'd be much better off if you do since it's what we will document first in details because Docker is what most developers use.

Hence that the mentioned Quick Tour uses 20.6.1 nightly build, where we introduced the insecure mode and that's what the tutorial uses. The stable 20.6.1 release will be out in a week or two.

The 20.6 release notes have quite a lot of information as well, including the TLS/SSL story.

Upvotes: 1

Related Questions