Bug 1713451 - Installation with IPA fails if Apache has TLSv1.3 enabled
Summary: Installation with IPA fails if Apache has TLSv1.3 enabled
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pki-core
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Harmsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1765268 2144487
TreeView+ depends on / blocked
 
Reported: 2019-05-23 17:45 UTC by Rob Crittenden
Modified: 2023-03-24 14:51 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
: 1765268 (view as bug list)
Environment:
Last Closed: 2019-11-27 23:35:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2019-05-23 17:45:42 UTC
Description of problem:

Addition of KRA to an IPA installation fails.

# ipa-kra-install 
Directory Manager password: 


===================================================================
This program will setup Dogtag KRA for the FreeIPA Server.


Configuring KRA server (pki-tomcatd). Estimated time: 2 minutes
  [1/10]: configuring KRA instance
Failed to configure KRA instance: CalledProcessError(Command ['/usr/sbin/pkispawn', '-s', 'KRA', '-f', '/tmp/tmpwejngxkb'] returned non-zero exit status 1: 'pkiparser     : WARNING  Unable to get security domain info: 403 Client Error: Forbidden for url: https://ipa.example.test:443/ca/rest/securityDomain/domainInfo\n')
See the installation logs and the following files/directories for more information:
  /var/log/pki/pki-tomcat
  [error] RuntimeError: KRA configuration failed.

Your system may be partly configured.
If you run into issues, you may have to re-install IPA on this server.

KRA configuration failed.
The ipa-kra-install command failed. See /var/log/ipaserver-kra-install.log for more information

Version-Release number of selected component (if applicable):
pki-kra-10.7.0-1.fc29.noarch

How reproducible:
Every time

Steps to Reproduce:
1. ipa-server-install -a password -p password -r EXAMPLE.TEST -U --setup-dns --allow-zone-overlap --no-forwarders -N --auto-reverse 
2. add +TLSv1.3 to the SSLProtocol line in /etc/httpd/conf.d/ssl.conf
3. restart Apache
4. ipa-kra-install

Additional info:

This may well be an issue with NSS or OpenSSL. The connection to Apache logs:

[Thu May 23 13:44:12.413087 2019] [ssl:error] [pid 26618:tid 140021587744512] [client 192.168.166.78:35690] AH10158: cannot perform post-handshake authentication
[Thu May 23 13:44:12.413128 2019] [ssl:error] [pid 26618:tid 140021587744512] SSL Library Error: error:14268117:SSL routines:SSL_verify_client_post_handshake:extension not received
[Thu May 23 13:44:12.452721 2019] [ssl:error] [pid 26618:tid 140021570959104] [client 192.168.166.78:35690] AH10158: cannot perform post-handshake authentication
[Thu May 23 13:44:12.452746 2019] [ssl:error] [pid 26618:tid 140021570959104] SSL Library Error: error:14268117:SSL routines:SSL_verify_client_post_handshake:extension not received

Comment 1 Rob Crittenden 2019-05-23 17:49:46 UTC
Simo seems to recall some TLS 1.3 handling issue in Java so that may be something to investigate.

Comment 6 Ben Cotton 2019-10-31 18:44:34 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2019-11-27 23:35:25 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.