Bug 1037884 - Export server SSL cert from client
Summary: Export server SSL cert from client
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Installation_and_Configuration_Guide
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0
: ---
Assignee: Joshua Wulf
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 01:46 UTC by Joshua Wulf
Modified: 2014-10-19 23:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Build Name: 18173, Messaging Installation and Configuration Guide-3-1 Build Date: 15-11-2013 19:53:21 Topic ID: 13362-446715 [Latest]
Last Closed: 2014-05-19 04:36:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Joshua Wulf 2013-12-04 01:46:40 UTC
Title: Export an SSL Certificate for Clients

there is an easier way for clients to collect the ssl cert directly from the server:

openssl s_client -connect $QPID_SERVER:5671 | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' > myservercert.pem

e.g.
openssl s_client -connect qpid.test.engineering.redhat.com:5671 | sed
-n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' >
qpid.test.engineering.redhat.com.crt

Comment 2 Petr Matousek 2014-05-06 12:22:18 UTC
Joshua, I don't understand the purpose of this bugzilla. The command mentioned in Comment 0 will acquire the server's certificate _NOT_ the client's certificate (but obtaining the server's certificate is done automatically when establishing the SSL connection with the server).

What the command above do is:
The openssl client tries to establish a SSL connection with the server, The server certificate is sent to the client and saved to a file regardless whether the connection was successful or not.

What is the purpose of obtaining the server's certificate? I believe that there is no reason to manually obtain the server's certificate. As mentioned above, this is done automatically on establishing the SSL connection.

Anyway, this content is definitely not related to the chapter where it is listed (Export an SSL Certificate for Clients).

Comment 4 Petr Matousek 2014-05-14 14:50:22 UTC
Content removal verified. The result is that no content was added, thus I'n suggesting to CLOSE NOTABUG. Joshua do you agree?

Comment 5 Joshua Wulf 2014-05-19 04:36:29 UTC
I agree.


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