mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
parent
c0879cd00b
commit
5c10f66e4a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user