RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1637717 - RFE: Validation and better error messages when novajoin fails because of SSL errors
Summary: RFE: Validation and better error messages when novajoin fails because of SSL ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1636634
Blocks: 1637719 1658316
TreeView+ depends on / blocked
 
Reported: 2018-10-09 21:16 UTC by Rob Crittenden
Modified: 2023-03-24 14:17 UTC (History)
10 users (show)

Fixed In Version: ipa-4.6.5-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1636634
: 1637719 1658316 (view as bug list)
Environment:
Last Closed: 2019-08-06 13:09:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2241 0 None None None 2019-08-06 13:09:37 UTC

Comment 3 Rob Crittenden 2018-10-10 14:55:57 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7728

Comment 4 Christian Heimes 2018-10-15 08:16:28 UTC
Fixed upstream
ipa-4-6:
https://pagure.io/freeipa/c/7cf7a7451b5fd2f2fe08086e0a4695e1754398b6

Comment 6 Sumedh Sidhaye 2019-06-26 08:51:42 UTC
Build used for Verification:

[root@qe-blade-09 ~]# rpm -qa ipa-*
ipa-client-common-4.6.5-9.el7.noarch
ipa-client-4.6.5-9.el7.x86_64
ipa-server-4.6.5-9.el7.x86_64
ipa-server-dns-4.6.5-9.el7.noarch
ipa-server-trust-ad-4.6.5-9.el7.x86_64
ipa-common-4.6.5-9.el7.noarch
ipa-server-common-4.6.5-9.el7.noarch


Steps:

firewalld inactive ca.crt present

[root@cloud-qe-17 ~]# ipa-join -s srv1.testrelm.test -b dc=testrelm,dc=test -w Secret123 
TLSMC: MozNSS compatibility interception begins.
tlsmc_convert: WARN: extracted cert file is not present.
tlsmc_convert: WARN: extracted key file is not present.
tlsmc_intercept_initialization: INFO: successfully intercepted TLS initialization. Continuing with OpenSSL only.
TLSMC: MozNSS compatibility interception ends.
Bind failed: Inappropriate authentication



firewalld inactive and valid ca.crt present but not correct (otherwise valid but not correct for the remote IPA CA )

[root@cloud-qe-17 ~]# ipa-join -s srv1.testrelm.test -b dc=testrelm,dc=test -w Secret123 
TLSMC: MozNSS compatibility interception begins.
tlsmc_convert: WARN: extracted cert file is not present.
tlsmc_convert: WARN: extracted key file is not present.
tlsmc_intercept_initialization: INFO: successfully intercepted TLS initialization. Continuing with OpenSSL only.
TLSMC: MozNSS compatibility interception ends.
Bind failed: Inappropriate authentication



firewalld inactive and ca.crt not present

[root@cloud-qe-17 ~]# ipa-join -s srv1.testrelm.test -b dc=testrelm,dc=test -w Secret123 
TLSMC: MozNSS compatibility interception begins.
tlsmc_convert: WARN: extracted cert file is not present.
tlsmc_convert: WARN: extracted key file is not present.
tlsmc_intercept_initialization: INFO: successfully intercepted TLS initialization. Continuing with OpenSSL only.
TLSMC: MozNSS compatibility interception ends.
TLS: could not load verify locations (file:`/etc/ipa/ca.crt',dir:`/tmp/openldap-tlsmc-certs--F9DABC43A23B9CE22493AC9A927EF93465BDE8A163F7DC3983C922AFFA30A5C3/cacerts').
TLS: error:02001002:system library:fopen:No such file or directory bss_file.c:175
TLS: error:2006D080:BIO routines:BIO_new_file:no such file bss_file.c:182
TLS: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib by_file.c:258
Bind failed: Can't contact LDAP server
[root@cloud-qe-17 ~]# 


firewalld active and ca.crt present but not the correct (otherwise valid but not correct for the remote IPA CA )

[root@cloud-qe-17 ~]# ipa-join -s srv1.testrelm.test -b dc=testrelm,dc=test -w Secret123 
Bind failed: Can't contact LDAP server
[root@cloud-qe-17 ~]# 

firewalld active and valid, correct ca.crt present

[root@cloud-qe-17 ~]# ipa-join -s srv1.testrelm.test -b dc=testrelm,dc=test -w Secret123
Bind failed: Can't contact LDAP server
[root@cloud-qe-17 ~]# 

Based on above observations, marking the BZ verified.

Comment 8 errata-xmlrpc 2019-08-06 13:09:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2241


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