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 1186488

Summary: Connections default to using TLSv1.0 and should use TLSv1.2
Product: Red Hat Enterprise Linux 7 Reporter: J.C. Molet <jmolet>
Component: python-rhsmAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.1CC: alikins, bcourt, bkearney, candlepin-bugs, jmolet, jsefler, vrjain
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rhsm-1.13.6-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1153375 Environment:
Last Closed: 2016-10-05 19:52:31 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:
Bug Depends On: 1153375    
Bug Blocks: 1153811, 1156565, 1156567    

Comment 1 J.C. Molet 2015-01-27 19:07:55 UTC
this is a clone of the original bug so that clearing up of the timeout error may be done independently.

Comment 4 vritant 2015-09-02 20:15:29 UTC
jmolet, do you mind verifying if this is already fixed in python rhsm 1.15 please?

Comment 5 J.C. Molet 2015-09-28 21:00:00 UTC
I have a candlepin server set up to use only SSLv3 (where the poodle exploit exists)

#cat /etc/tomcat/server.xml | grep sslEnabledProtocols

<Connector SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="want" SSLProtocol="TLS" keystoreFile="conf/keystore" truststoreFile="conf/keystore" keystorePass="password" keystoreType="PKCS12" ciphers="SSL_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" truststorePass="password" port="8443" sslEnabledProtocols="SSLv3" protocol="HTTP/1.1"/>


Meanwhile on the client when I register:
#subscription-manager register --username=testuser1 --password=password --org=admin
Registering to: jmolet-cp0.usersys.redhat.com:8443/candlepin
Unable to verify server's identity: unsupported protocol

This was rejected due to incorrect protocol.

If I change the server back:
#cat /etc/tomcat/server.xml | grep sslEnabledProtocols
    <Connector SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="want" SSLProtocol="TLS" keystoreFile="conf/keystore" truststoreFile="conf/keystore" keystorePass="password" keystoreType="PKCS12" ciphers="SSL_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA,TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,TLS_ECDH_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" truststorePass="password" port="8443" sslEnabledProtocols="TLSv1.2,TLSv1.1,TLSv1" protocol="HTTP/1.1"/>

# subscription-manager register --username=testuser1 --password=password --org=admin
Registering to: jmolet-cp0.usersys.redhat.com:8443/candlepin
The system has been registered with ID: 83613ef2-274f-4734-abdc-54095d63930e 

All works.  Marking Verified.
python-rhsm-1.15.4-5.el7.x86_64

Comment 8 Bryan Kearney 2016-10-05 19:52:31 UTC
This was fixed in 7.2 & 6.8