summaryrefslogtreecommitdiff
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:50:18 -0400
commit3f1e47a8e92f2ddde45d0bdf6b0b1a51c79d913c (patch)
tree31c58c1e2c38816387f8df7b8d7142f2f022767e
parente5e64291b584340032655ff7c9398067691b06f6 (diff)
initial mx couchdb stunnel configuration
-rw-r--r--provider_base/services/mx.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/provider_base/services/mx.json b/provider_base/services/mx.json
index 91ad3277..73bbea83 100644
--- a/provider_base/services/mx.json
+++ b/provider_base/services/mx.json
@@ -19,3 +19,14 @@
},
"service_type": "user_service"
}
+ },
+ "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"
+ }
+}