Last active
April 28, 2019 03:34
-
-
Save kainlite/f46c829de562750d0fb21ec25f8fa91b to your computer and use it in GitHub Desktop.
certs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ consul tls ca create | |
| ==> Saved consul-agent-ca.pem | |
| ==> Saved consul-agent-ca-key.pem | |
| $ consul tls cert create -server -additional-dnsname server.dc1.cluster.local | |
| ==> WARNING: Server Certificates grants authority to become a | |
| server and access all state in the cluster including root keys | |
| and all ACL tokens. Do not distribute them to production hosts | |
| that are not server nodes. Store them as securely as CA keys. | |
| ==> Using consul-agent-ca.pem and consul-agent-ca-key.pem | |
| ==> Saved dc1-server-consul-0.pem | |
| ==> Saved dc1-server-consul-0-key.pem | |
| $ consul tls cert create -client | |
| ==> Using consul-agent-ca.pem and consul-agent-ca-key.pem | |
| ==> Saved dc1-client-consul-0.pem | |
| ==> Saved dc1-client-consul-0-key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment