[one-users] econe-server with x509 and econe command

Hyun Woo Kim hyunwoo at fnal.gov
Fri Sep 14 15:42:55 PDT 2012


Hi,

Thanks very much for the response.

Our econe server is already configured to use SSL proxy.
We are using mod_gridsite.
This module works just fine with sunstone server.

My question can be rephrased as follows.

As you mentioned, HTTP_SSL_CLIENT_CERT is set during SSL handshake.
This I understand.

What I do not understand is, my client which is econe-upload does not specify
my certificate and private key like I use wget --certificate --private-key.
I tried econe-upload --access-key=mycertificate --secret-key=myprivatekey or so.

How can a SSL handshake take place between Apache and econe-upload
when econe-upload does not know my certificate and private key?

Thanks again.
Hyunwoo
________________________________
From: Ruben S. Montero [rsmontero at opennebula.org]
Sent: Friday, September 14, 2012 5:19 PM
To: Hyun Woo Kim
Cc: users at lists.opennebula.org
Subject: Re: [one-users] econe-server with x509 and econe command

Hi

The HTTP_SSL_CLIENT_CERT variable should be set by the Web server as a result of the SSL handshake. The econe server should be configured through a SSL proxy [1]

Cheers

ruben

[1] http://opennebula.org/documentation:rel3.6:ec2qcg#configuring_a_ssl_proxy

On Fri, Sep 14, 2012 at 10:41 PM, Hyun Woo Kim <hyunwoo at fnal.gov<mailto:hyunwoo at fnal.gov>> wrote:
Dear developers,

$ONE_LOCATION/etc/econe.conf  has
:auth: x509

I understand this eventually causes
do_auth in $ONE_LOCATION/lib/ruby/cloud/CloudAuth/X509CloudAuth.rb
to be invoked.

This code X509CloudAuth.rb has
        cert_line   = env['HTTP_SSL_CLIENT_CERT']
at the beginning,

but, it is empty.

For this test, I am using econe-upload command with the following options
econe-upload -M
--access-key  "my account name"
--secret-key   "the DN of my certificate"
--url https://hostname:8443 (this is our site-specific)
pathname to image file


I think this result (HTTP_SSL_CLIENT_CERT being empty) is natural
because the command econe-upload does not point to my actual certificate..

Could you please clarify on how to use x509 auth with econe?

Thank you in advance.
Hyunwoo



_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org<http://www.OpenNebula.org> | rsmontero at opennebula.org<mailto:rsmontero at opennebula.org> | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120914/b926103e/attachment-0002.htm>


More information about the Users mailing list