URL: https://github.com/freeipa/freeipa/pull/6122
Author: jh23453
 Title: #6122: Remove deprecation warning when installing a CA replica
Action: opened

PR body:
"""
I got the following message when installing a replica with CA:

2021-11-22T21:15:35Z DEBUG   [5/30]: configuring certificate server instance

...
WARNING: The 'pki_ssl_server_token' in [CA] has been deprecated. Use 
'pki_sslserver_token' instead.
Installation log: /var/log/pki/pki-ca-spawn.20211122221535.log
Installing CA into /var/lib/pki/pki-tomcat.

With the following change the message no longer appears when installing a 
replica.

Signed-off-by: Jochen Kellner <joc...@jochen.org>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/6122/head:pr6122
git checkout pr6122
From 0617fedb4afc8f5865096e7f423b5e9911425dfc Mon Sep 17 00:00:00 2001
From: jh23453 <joc...@jochen.org>
Date: Thu, 9 Dec 2021 12:58:17 +0100
Subject: [PATCH] Remove deprecation warning when installing a CA replica

I got the following message when installing a replica with CA:

2021-11-22T21:15:35Z DEBUG   [5/30]: configuring certificate server instance

...
WARNING: The 'pki_ssl_server_token' in [CA] has been deprecated. Use 'pki_sslserver_token' instead.
Installation log: /var/log/pki/pki-ca-spawn.20211122221535.log
Installing CA into /var/lib/pki/pki-tomcat.

With the following change the message no longer appears when installing a replica.

Signed-off-by: Jochen Kellner <joc...@jochen.org>
---
 install/share/ipaca_default.ini | 1 -
 1 file changed, 1 deletion(-)

diff --git a/install/share/ipaca_default.ini b/install/share/ipaca_default.ini
index 3a3dfd0c9b8..082f507b2de 100644
--- a/install/share/ipaca_default.ini
+++ b/install/share/ipaca_default.ini
@@ -81,7 +81,6 @@ pki_skip_installation=False
 pki_skip_sd_verify=False
 
 pki_sslserver_token=internal
-pki_ssl_server_token=%(pki_sslserver_token)s
 pki_sslserver_nickname=Server-Cert cert-pki-ca
 pki_sslserver_subject_dn=cn=%(ipa_fqdn)s,%(ipa_subject_base)s
 
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to