github.com/outbrain/consul@v1.4.5/website/source/docs/commands/tls/ca.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: TLS CA Create" 4 sidebar_current: "docs-commands-tls-ca" 5 --- 6 7 # Consul TLS CA Create 8 9 Command: `consul tls ca create` 10 11 This command create a self signed CA to be used for Consul TLS setup. 12 13 ## Example 14 15 Create CA: 16 17 ```bash 18 $ consul tls ca create 19 ==> Saved consul-ca.pem 20 ==> Saved consul-ca-key.pem 21 ``` 22 23 ## Usage 24 Usage: `consul tls ca create [filename-prefix] [options]` 25 26 #### TLS CA Create Options 27 28 - `-days=<int>` - Provide number of days the CA is valid for from now on, defaults to 5 years.