Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3743479
D2640.id6669.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2640.id6669.diff
View Options
diff --git a/roles/vault/vault/files/vault.hcl b/roles/vault/vault/files/vault.hcl
--- a/roles/vault/vault/files/vault.hcl
+++ b/roles/vault/vault/files/vault.hcl
@@ -16,8 +16,8 @@
listener "tcp" {
address = "{{ ip }}:8200"
{% if certificates_available %}
- tls_cert_file: "/usr/local/etc/certificates/vault/fullchain.pem"
- tls_key_file: "/usr/local/etc/certificates/vault/private.key"
+ tls_cert_file = "/usr/local/etc/certificates/vault/fullchain.pem"
+ tls_key_file = "/usr/local/etc/certificates/vault/private.key"
{% else %}
tls_disable = 1
{% endif %}
diff --git a/roles/vault/vault/init.sls b/roles/vault/vault/init.sls
--- a/roles/vault/vault/init.sls
+++ b/roles/vault/vault/init.sls
@@ -27,7 +27,7 @@
- context:
id: {{ grains['id'] }}
ip: {{ network['ipv4_address'] }}
- certificates_available: {{ salt["file.file_exists"]("/usr/local/etc/certificates/vault") }}
+ certificates_available: {{ salt["file.file_exists"]("/usr/local/etc/certificates/vault/fullchain.pem") }}
# -------------------------------------------------------------
# Storage
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 20:49 (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246745
Default Alt Text
D2640.id6669.diff (1 KB)
Attached To
Mode
D2640: Fix Vault certificates configuration
Attached
Detach File
Event Timeline
Log In to Comment