Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1173886
Summary: | With policy set to FUTURE gnutls-cli does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Štefan Gurský <scorpy_sk> |
Component: | crypto-policies | Assignee: | Nikos Mavrogiannopoulos <nmavrogi> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | nmavrogi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | crypto-policies-20140905-2.git4649b7d.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-13 00:04:06 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
Štefan Gurský
2014-12-13 19:13:51 UTC
Thanks. I see a typo in the string, although I see a different error code. Does replacing back-ends/gnutls.config with the following fixes the issue for you? "NONE:+VERS-TLS1.2:+VERS-DTLS1.2:+SHA1:+SHA256:+SHA384:+ECDHE-RSA:+ECDHE-ECDSA:+RSA:+DHE-RSA:+DHE-DSS:+AES-128-GCM:+AES-128-CBC:+CAMELLIA-128-GCM:+CAMELLIA-128-CBC:+AES-256-GCM:+AES-256-CBC:+CAMELLIA-256-GCM:+CAMELLIA-256-CBC:+SIGN-ALL:-SIGN-RSA-MD5:-SIGN-RSA-SHA1:-SIGN-DSA-SHA1:-SIGN-ECDSA-SHA1:+CURVE-SECP256R1:+CURVE-SECP384R1:+CURVE-SECP521R1:+COMP-NULL:%PROFILE_MEDIUM" $ cat /etc/crypto-policies/back-ends/gnutls.config NONE:+VERS-TLS1.2:+VERS-DTLS1.2:+SHA1:+SHA256:+SHA384:+ECDHE-RSA:+ECDHE-ECDSA:+RSA:+DHE-RSA:+DHE-DSS:+AES-128-GCM:+AES-128-CBC:+CAMELLIA-128-GCM:+CAMELLIA-128-CBC:+AES-256-GCM:+AES-256-CBC:+CAMELLIA-256-GCM:+CAMELLIA-256-CBC:+SIGN-ALL:-SIGN-RSA-MD5:-SIGN-RSA-SHA1:-SIGN-DSA-SHA1:-SIGN-ECDSA-SHA1:+CURVE-SECP256R1:+CURVE-SECP384R1:+CURVE-SECP521R1:+COMP-NULL:%PROFILE_MEDIUM With this “gnutls-cli bugzilla.redhat.com” works. $ cat /etc/crypto-policies/back-ends/gnutls.config SYSTEM=NONE:+VERS-TLS1.2:+VERS-DTLS1.2:+SHA1:+SHA256:+SHA384:+ECDHE-RSA:+ECDHE-ECDSA:+RSA:+DHE-RSA:+DHE-DSS:+AES-128-GCM:+AES-128-CBC:+CAMELLIA-128-GCM:+CAMELLIA-128-CBC:+AES-256-GCM:+AES-256-CBC:+CAMELLIA-256-GCM:+CAMELLIA-256-CBC:+SIGN-ALL:-SIGN-RSA-MD5:-SIGN-RSA-SHA1:-SIGN-DSA-SHA1:-SIGN-ECDSA-SHA1:+CURVE-SECP256R1:+CURVE-SECP384R1:+CURVE-SECP521R1:+COMP-NULL:%PROFILE_MEDIUM With this “gnutls-cli bugzilla.redhat.com” returns: - Status: The certificate is NOT trusted. The certificate chain uses insecure algorithm. but some other sites work. Which one is correct? Correct, that seems to fix the issue then. Note that with future settings you shouldn't expect many sites to work. Among others, it requires better than SHA1 algorithms, and most sites on the internet don't use anything else than SHA1. With the openssl settings it is not possible to express this requirement (hopefully that will change in F22), and that's why it may work. crypto-policies-20140905-2.git4649b7d.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/crypto-policies-20140905-2.git4649b7d.fc21 Package crypto-policies-20140905-2.git4649b7d.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing crypto-policies-20140905-2.git4649b7d.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-17120/crypto-policies-20140905-2.git4649b7d.fc21 then log in and leave karma (feedback). crypto-policies-20140905-2.git4649b7d.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |