summaryrefslogtreecommitdiff
path: root/provider_base/files
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-08-19 17:41:45 -0700
committerelijah <elijah@riseup.net>2015-08-19 17:41:45 -0700
commit3f1c9f42cd93f6ef099124b33663fd9f288eb430 (patch)
tree56d5837dbd5aa33552ed0ec8e88c7e3ce69d0503 /provider_base/files
parent1b4c55b308eda73504769c38972da9b2f1295e99 (diff)
allow ca_cert_uri to be configured
Diffstat (limited to 'provider_base/files')
-rw-r--r--provider_base/files/service-definitions/provider.json.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/files/service-definitions/provider.json.erb b/provider_base/files/service-definitions/provider.json.erb
index e51f9c3a..a75bea61 100644
--- a/provider_base/files/service-definitions/provider.json.erb
+++ b/provider_base/files/service-definitions/provider.json.erb
@@ -9,7 +9,7 @@
hsh['api_version'] = "1"
hsh['api_uri'] = ["https://", api.domain, ':', api.port].join
- hsh['ca_cert_uri'] = 'https://' + webapp.domain + '/ca.crt'
+ hsh['ca_cert_uri'] = api.ca_cert_uri
hsh['ca_cert_fingerprint'] = fingerprint(:ca_cert)
hsh.dump_json