one of our customers just reported the following issue on RHEL 8.1.
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:
redhat-support-tool should work with the FUTURE crypto policy set.
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.
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).
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.)
Created attachment 1673993 [details]
curl api output
Created attachment 1673995 [details]
curl api output - FUTURE
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.