[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] add ssl/tls support to relocation


  • To: "Zhigang Wang" <zhigang.x.wang@xxxxxxxxxx>
  • From: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
  • Date: Mon, 5 May 2008 10:43:53 -0500
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 05 May 2008 08:45:45 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcisgAaYvbhNxhw/SHei2UGAhzLp7QCRgMzw
  • Thread-topic: [Xen-devel] [PATCH] add ssl/tls support to relocation

This works on SLES10SP1 if we download a compatible python openssl rpm
(python-openssl-0.6-17.x86_64.rpm) from opensuse.

brian carb
unisys corporation - malvern, pa

-----Original Message-----
From: Zhigang Wang [mailto:zhigang.x.wang@xxxxxxxxxx] 
Sent: Friday, May 02, 2008 2:11 PM
To: Carb, Brian A
Cc: xen-devel
Subject: Re: [Xen-devel] [PATCH] add ssl/tls support to relocation

Yes. I add a dependency.

maybe we can separate SSLTCPListener to a new file like (tcp-ssl.py),
and import it when needed, just like
tools/python/xen/xend/server/SSLXMLRPCServer.py did.

will try it later, or you can help.

thanks,

zhigang

Carb, Brian A wrote:
> With this patch included, xend start errors: 
> 
> # xend start
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 44, in ?
>     from xen.xend.server import SrvDaemon
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/s
> er
> ver/SrvDaemon.py", line 26, in ?
>     import relocate
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/s
> er
> ver/relocate.py", line 23, in ?
>     from xen.web import protocol, tcp, unix
>   File
>
"/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/web/tcp.
> py", line 25, in ?
>     from OpenSSL import SSL
> ImportError: No module named OpenSSL
> 
> I guess this produces a dependency on python-openssl, but this rpm is 
> not included in the standard SLES10 distro.
> 
> brian carb
> unisys corporation - malvern, pa
> 
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhigang 
> Wang
> Sent: Sunday, April 27, 2008 10:50 PM
> To: xen-devel
> Subject: [Xen-devel] [PATCH] add ssl/tls support to relocation
> 
> hi, this patch add ssl/tls support to relocation:
> 
>  * SSL/TLS support is disabled by default, as other server did.
> 
>  * If "xend-relocation-server-ssl-key-file" and
>    "xend-relocation-server-ssl-cert-file" exist, SSL/TLS is enabled
>    automatically.
> 
>  * "xend-relocation-tls" is used by relocation client only.
> 
> Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
> 
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.