I have set up an insecure cluster on three nodes in three different datacenters. This was incredibly simple.
But when I try to make it secure… It doesn’t work. I tried to follow the docs (for example https://www.cockroachlabs.com/docs/stable/training/security.html). But nothing works. Mosty because of trouble with certificates.
The docs give information about setting up cluster with three nodes on one server. So creating certificates is completely different (you cannot copy paste the code).
Does anybody know a tutorial on how to create a secure cluster on three different servers?