3.6.1 Generate RSA Certificates for etcd
You must provide etcd credentials and etcd endpoints in the YAML
file for the transaction coordinator. MicroTx uses this information to establish a connection to the database after the service is installed.
Skip this step if you are not using etcd as the transaction store.
Before you begin, complete the following tasks:
- Install CFSSL tool. See https://github.com/cloudflare/cfssl. This topic provides sample commands to create certificates using the CFSSL tool. You can use this tool or any other tool of your choice to generate certificates.
- Install and configure the etcd database. For information to create an etcd data store, see https://etcd.io/docs/.
- Enable TLS on etcd for additional security and provide the certificate details in the
YAML
file for the transaction coordinator.
To create certificates and identify the etcd endpoints:
Parent topic: Set Up etcd as Data Store