Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1397547

Summary: SSH does not use the ibmca crypto hardware
Product: Red Hat Enterprise Linux 6 Reporter: Joe Pope <pope_svr4>
Component: opensshAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: Stefan Dordevic <sdordevi>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8CC: dhorak, kbost, nmavrogi
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: openssh-5.3p1-122.el6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 10:02:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Pope 2016-11-22 18:55:24 UTC
Description of problem:
Configured OpenSSL to use ibmca and verified the configuration for Apache but SSHD will not use the modular exponentiation (RSA/DH/DSA) from the crypto adapter.


Version-Release number of selected component (if applicable):
openssh-5.3p1-118.1.el6_8.s390x
openssl-ibmca-1.2.0-4.el6.s390x
libica-2.4.2-2.el6.s390x


How reproducible:
configure the openssl.cnf as described in openssl.cnf.sample-s390x
reboot

Steps to Reproduce:
1.configure openssl as above
2.reboot
3.run lszcrypt -VVV to check request_count
4.run icastats -r to clear stats
5.open multiple ssh sessions and the counter will not increment
6.run lszcrypt -VVV to check request_count
7.run icastats to verify the software count is incrementing and the hardware count is not

Actual results:
the request_count will not increment and icastats for hardware will not increment which means that ssh is using the builtin openssl engine instead of offloading to the crypto card

Expected results:
request_count should increment and icastats should increment for hardware

Additional info:

Comment 1 Jakub Jelen 2016-11-23 08:11:24 UTC
Can you verify it works [1] with current RHEL7.3 (it should)? RHEL6 already reached the maintenance phase and therefore does not accept any new features.
But to make sure it is properly evaluated, please contact your Red Hat support [2] (bugzilla is not a support tool).

[1] http://bugzilla.redhat.com/1318760
[2] https://www.redhat.com/support/

Comment 2 Joe Pope 2016-11-23 11:09:30 UTC
yes it works with 7.3.

this is not a new feature for rhel 6. it used to work in earlier versions of rhel6.

Comment 3 Jakub Jelen 2016-11-23 12:03:49 UTC
This seems to be related to control master feature introduced some time around RHEL6.5, which is closing all the hanging file descriptors in the processes (unfortunately not noticed during recent updates).

We have a patch for RHEL7, which should do the same job also in RHEL6 so please, open your support ticket (with reference to this bugzilla) so I can build you a test package.

Comment 19 errata-xmlrpc 2017-03-21 10:02:50 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://rhn.redhat.com/errata/RHSA-2017-0641.html