Backup ssl.conf when migrating from mod_nss

We should backup mod_ssl configuration when migrating from nss
otherwise the uninstall would later leave the machine with
IPA-specific settings.

Related: https://pagure.io/freeipa/issue/3757
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Stanislav Laznicka 2018-02-16 08:06:21 +01:00
parent b21941360c
commit 75845733f8
No known key found for this signature in database
GPG Key ID: C98C414936B1A7F3

View File

@ -577,6 +577,7 @@ class HTTPInstance(service.Service):
pk12_password,
paths.HTTPD_KEY_FILE)
self.backup_ssl_conf()
self.configure_mod_ssl_certs()
self.set_mod_ssl_protocol()
self.set_mod_ssl_logdir()