Bug 1802026 - crypto-policy FUTURE blocks communication of redhat-support-tool [NEEDINFO]
Summary: crypto-policy FUTURE blocks communication of redhat-support-tool
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: redhat-support-tool
Version: 8.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.0
Assignee: Nobody
QA Contact: Upgrades and Supportability
Mirek Jahoda
Depends On:
TreeView+ depends on / blocked
Reported: 2020-02-12 08:30 UTC by Roman Bobek
Modified: 2022-04-23 04:38 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
.`redhat-support-tool` does not work with the `FUTURE` crypto policy Because a cryptographic key used by a certificate on the Customer Portal API does not meet the requirements by the `FUTURE` system-wide cryptographic policy, the `redhat-support-tool` utility does not work with this policy level at the moment. To work around this problem, use the `DEFAULT` crypto policy while connecting to the Customer Portal API.
Clone Of:
Last Closed:
Type: Bug
Target Upstream Version:
oliver: needinfo? (vrathee)

Attachments (Terms of Use)
curl api output (12.73 KB, application/xml)
2020-03-27 08:34 UTC, Roman Bobek
no flags Details
curl api output - FUTURE (3.83 KB, text/plain)
2020-03-27 09:02 UTC, Roman Bobek
no flags Details

Description Roman Bobek 2020-02-12 08:30:25 UTC
Hello all,

one of our customers just reported the following issue on RHEL 8.1.

Current behavior:
Setting the system crypto-policy to FUTURE is blocking the communication of redhat-support-tool with Customer Portal API.

    update-crypto-policies --set FUTURE
    redhat-support-tool kb 66281
    Please enter the password for rhn-support-rbobek:
    Save the password for rhn-support-rbobek in /root/.redhat-support-tool/redhat-support- tool.conf (y/n): n
    Problem connecting to the support services API. Is the service accessible from this host?

When we use some other crypto policy, the communication is working fine. The FUTURE crypto policy is very strict and probably is disabling cipher-suite needed for the communication:

Expected behavior:
redhat-support-tool should work with the FUTURE crypto policy set.

Comment 1 Tomas Mraz 2020-02-12 10:42:09 UTC
The FUTURE policy has a special purpose and is not meant to be used in general. It will not be adjusted because it would hinder its purpose.

If the redhat-support-tool has to work with the FUTURE policy set it needs to be solved (on the server side) of the redhat-support-tool.

Comment 2 Roman Bobek 2020-02-19 08:54:46 UTC
Hello Tomas,

yes, that's fine. We do not expect to change the setting of crypto policies.

Can somebody from PM review this request and let us know if support-tool should work with this settings (IMHO it should).

Many thanks,


Comment 3 Tomas Mraz 2020-02-19 09:44:25 UTC
Basically it means that the servers that the support-tool connects to have to have 3kbit RSA certificates (or ECDSA certificates) as minimum.
(There might be other issues but they are much less probable.)

Comment 20 Roman Bobek 2020-03-27 08:34:56 UTC
Created attachment 1673993 [details]
curl api output

Comment 22 Roman Bobek 2020-03-27 09:02:49 UTC
Created attachment 1673995 [details]
curl api output - FUTURE

Comment 23 Jim Robbins 2020-03-27 17:17:42 UTC

The certificate that is directly on the Strata pods in production is for strata.ext.us-west.dc.prod.paas.redhat.com. That certificate was renewed in June, 2019 and is 4096 bits. However, the curl that @roman face showed the following certificate was flagged:

* Server certificate:
*  subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; OU=Engineering; CN=maven.repository.redhat.com
*  start date: Jan 13 00:00:00 2020 GMT
*  expire date: Jul 14 12:00:00 2020 GMT
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=GeoTrust RSA CA 2018
*  SSL certificate verify result: EE certificate key too weak (66), continuing anyway.

This certificate is for the maven server that both Strata and Hydra connect to. I can't renew it since Strata doesn't own the maven server. However, the certificate expires in July so it will need to be renewed soon and the updated certificate should be 4096 bits.

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