commit 599b0bf761e409d8dbdad9e81350ef2f3d0cf4f2
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Oct 27 14:28:12 2016 +0200
Add existing ca field
roles/fas_server/templates/fas.cfg.j2 | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/roles/fas_server/templates/fas.cfg.j2
b/roles/fas_server/templates/fas.cfg.j2
index 9bf080b..3718f12 100644
--- a/roles/fas_server/templates/fas.cfg.j2
+++ b/roles/fas_server/templates/fas.cfg.j2
@@ -227,11 +227,19 @@ openssl_expire = 15552000 # 60*60*24*180 = 6 months
openssl_ca_dir = "/var/lib/rpmfusion-ca"
openssl_ca_newcerts = "/var/lib/rpmfusion-ca/newcerts"
openssl_ca_index = "/var/lib/rpmfusion-ca/index.txt"
+{% if env == "staging" %}
openssl_c = "EU"
openssl_st = "None"
openssl_l = "Freeworld"
openssl_o = "RPM Fusion Project"
openssl_ou = "RPM Fusion User Cert"
+{% else %}
+openssl_c = "EU"
+openssl_st = "France"
+openssl_l = "France"
+openssl_o = "RPM Fusion"
+openssl_ou = "Upload Files"
+{% endif %}
# Source of entrophy for salts, tokens, passwords
# os.urandom will be used if this is false.
Show replies by date