Bug 1494208 - sscg: write server certificate before CA certificate if filenames match
Summary: sscg: write server certificate before CA certificate if filenames match
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sscg
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-21 16:46 UTC by Joe Orton
Modified: 2017-09-30 06:48 UTC (History)
1 user (show)

Fixed In Version: sscg-2.2.0-1.fc26 sscg-2.2.0-1.fc27
Clone Of:
Environment:
Last Closed: 2017-09-22 18:52:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2017-09-21 16:46:37 UTC
Description of problem:
If I specific the same filename for --ca-file and --cert-file sscg writes the CA file first, then the server cert.  It should be the other way around.

Version-Release number of selected component (if applicable):
sscg-2.1.0-1.fc26.x86_64

How reproducible:
always

Steps to Reproduce:
1. sscg --ca-file=foo.pem --cert-file=foo.pem
2. keytool -printcert -v -file ./foo.pem  | grep Owner

Actual results:
Owner: CN=ca-X.latipes.manyfish.co.uk, O=Unspecified, C=US
Owner: CN=latipes.manyfish.co.uk, O=Unspecified, C=US

Expected results:
Owner: CN=latipes.manyfish.co.uk, O=Unspecified, C=US
Owner: CN=ca-X.latipes.manyfish.co.uk, O=Unspecified, C=US


Additional info:

Comment 1 Fedora Update System 2017-09-21 18:57:20 UTC
sscg-2.2.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6da1e75a2b

Comment 2 Fedora Update System 2017-09-21 18:57:28 UTC
sscg-2.2.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3cac326e96

Comment 3 Fedora Update System 2017-09-22 00:00:13 UTC
sscg-2.2.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3cac326e96

Comment 4 Fedora Update System 2017-09-22 05:54:05 UTC
sscg-2.2.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6da1e75a2b

Comment 5 Fedora Update System 2017-09-22 18:52:53 UTC
sscg-2.2.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-09-30 06:48:09 UTC
sscg-2.2.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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