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 - SSH does not use the ibmca crypto hardware
Summary: SSH does not use the ibmca crypto hardware
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openssh
Version: 6.8
Hardware: s390x
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Jakub Jelen
QA Contact: Stefan Dordevic
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-22 18:55 UTC by Joe Pope
Modified: 2021-06-10 11:41 UTC (History)
3 users (show)

Fixed In Version: openssh-5.3p1-122.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 10:02:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0641 0 normal SHIPPED_LIVE Moderate: openssh security and bug fix update 2017-03-21 12:31:22 UTC

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


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