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:
@@ -145,6 +145,9 @@ def upgrade_pki():
|
|||||||
|
|
||||||
This requires enabling SSL renegotiation.
|
This requires enabling SSL renegotiation.
|
||||||
"""
|
"""
|
||||||
|
if not os.path.exists('/etc/pki-ca/CS.cfg'):
|
||||||
|
return
|
||||||
|
|
||||||
fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore')
|
fstore = sysrestore.FileStore('/var/lib/ipa/sysrestore')
|
||||||
http = httpinstance.HTTPInstance(fstore)
|
http = httpinstance.HTTPInstance(fstore)
|
||||||
http.enable_mod_nss_renegotiate()
|
http.enable_mod_nss_renegotiate()
|
||||||
|
|||||||
Reference in New Issue
Block a user