Bug 884305
Summary: | Openssl connect accepts untrusted certificate | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrei Mituca <a.mituca> |
Component: | openssl | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | a.mituca, holz, tmraz |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-01 18:10:12 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
Andrei Mituca
2012-12-05 21:32:36 UTC
This is not a bug. The intermediate certificates are sent by the server and are verified by chain that ends on the primary certificate that is trusted. In the openssl verify call you provide just the server certificate and the intermediate certificates are missing. I would like to chime in here. The reporter issues the command openssl s_client -connect twitter.com:443 *without* using -CAfile to indicate trusted root certs. So to which root certificate does Fedora's version of openssl chain up? Do you chain to a default root store shipped with Fedora? Because on an Ubuntu, the reporter is absolutely correct in stating that openssl returns: Verify return code: 20 (unable to get local issuer certificate) IMO this is the correct and expected behaviour as openssl has no clue how to complete the cert chain nor is it able to identify a root cert as trusted. The error code reflects exactly that. So, before we ultimately close this bug, can you please at least state if openssl on Fedora behaves differently than on Ubuntu in that it assumes a default root store shipped with the OS? Thanks! I misunderstood the report, yes you're right that this is bug - if -CAfile or -CApath is explicitly specified, the default ca bundle should not be loaded. OK. Thanks for the quick reply, much appreciated! Fixed on Rawhide in openssl-1.0.1c-10.fc19. This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |