diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-10-10 10:15:41 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-10-11 17:08:17 -0400 |
commit | 5c10f66e4abd35dc24fe65d5916e429bee221093 (patch) | |
tree | 69b6a166535fb7a423a51f357349c0737bcf371f | |
parent | c0879cd00b17b61de54b52cb24a61ce85374cae4 (diff) | |
download | freeipa-5c10f66e4abd35dc24fe65d5916e429bee221093.tar.gz freeipa-5c10f66e4abd35dc24fe65d5916e429bee221093.tar.xz freeipa-5c10f66e4abd35dc24fe65d5916e429bee221093.zip |
Fix upgrades of selfsign server
In checking to see if the dogtag proxy configuration needed to be updated
we didn't handle the case where dogtag isn't installed at all.
https://fedorahosted.org/freeipa/ticket/1951
-rw-r--r-- | install/tools/ipa-upgradeconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig index 406da9396..8c4d9a260 100644 --- a/install/tools/ipa-upgradeconfig +++ b/install/tools/ipa-upgradeconfig @@ -145,6 +145,9 @@ def upgrade_pki(): This requires enabling SSL renegotiation. """ + if not os.path.exists('/etc/pki-ca/CS.cfg'): + return + fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore') http = httpinstance.HTTPInstance(fstore) http.enable_mod_nss_renegotiate() |