summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-17 16:01:19 -0400
committerMicah Anderson <micah@leap.se>2013-07-25 13:45:10 -0400
commit720717e177af576936a7e3e950aec1d208a21fae (patch)
tree72b08bd3c9047c4e445ed299f6ee8341e382abd4 /provider_base/services
parent972317f752d5d621bd8284d4c00caaabbb447061 (diff)
initial mx couchdb stunnel configuration
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/mx.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/provider_base/services/mx.json b/provider_base/services/mx.json
index 61ae0db9..949374ad 100644
--- a/provider_base/services/mx.json
+++ b/provider_base/services/mx.json
@@ -4,5 +4,14 @@
},
"haproxy": {
"local_ports": "= stunnel.couch_client.field(:accept_port)"
+ },
+ "x509": {
+ "use": true,
+ "ca_cert": "= file :ca_cert, :missing => 'provider CA. Run `leap cert ca`'",
+ "client_ca_cert": "= file_path :client_ca_cert",
+ "client_ca_key": "= file_path :client_ca_key",
+ "commercial_cert": "= file [:commercial_cert, domain.full_suffix]",
+ "commercial_key": "= file [:commercial_key, domain.full_suffix]",
+ "commercial_ca_cert": "= try_file :commercial_ca_cert"
}
}