summaryrefslogtreecommitdiffstats
path: root/install/share/certmap.conf.template
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-07-29 18:33:09 +0200
committerMartin Kosek <mkosek@redhat.com>2013-08-08 16:52:48 +0200
commitda2605c942b6119b69e14ab5bec53ddda4393808 (patch)
tree0e916ccbd8cece29533aaa0a9b87a6d6eca5c435 /install/share/certmap.conf.template
parentf988e422eb59c2617489d4129522f4d7f2b6af56 (diff)
downloadfreeipa-da2605c942b6119b69e14ab5bec53ddda4393808.tar.gz
freeipa-da2605c942b6119b69e14ab5bec53ddda4393808.tar.xz
freeipa-da2605c942b6119b69e14ab5bec53ddda4393808.zip
Handle --subject option in ipa-server-install
Properly handle --subject option of ipa-server-install, making sure this value gets passed to certmap.conf. Introduce a new template variable $SUBJECT_BASE for this purpose. Also make sure that this value is preserved on upgrades. https://fedorahosted.org/freeipa/ticket/3783
Diffstat (limited to 'install/share/certmap.conf.template')
-rw-r--r--install/share/certmap.conf.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/share/certmap.conf.template b/install/share/certmap.conf.template
index cff3a669b..7beb5070f 100644
--- a/install/share/certmap.conf.template
+++ b/install/share/certmap.conf.template
@@ -1,4 +1,4 @@
-# VERSION 1 - DO NOT REMOVE THIS LINE
+# VERSION 2 - DO NOT REMOVE THIS LINE
#
# This file is managed by IPA and will be overwritten on upgrades.
@@ -84,6 +84,6 @@ certmap default default
#default:InitFn <Init function's name>
default:DNComps
default:FilterComps uid
-certmap ipaca CN=Certificate Authority,O=$REALM
+certmap ipaca CN=Certificate Authority,$SUBJECT_BASE
ipaca:CmapLdapAttr seeAlso
ipaca:verifycert on