[one-users] apache for a ssl proxy with econe

sebastien goasguen runseb at gmail.com
Tue May 3 09:36:37 PDT 2011


Sure, here is what I have working:

econe.conf:
-----------------
# OpenNebula sever contact information
ONE_XMLRPC=http://localhost:2633/RPC2

# Host and port where OCA server will run
SERVER=localhost
PORT=4567

#SSL Proxy
SSL_SERVER=<hostname.domain>:<the port you run the proxy on>


I did a force redirect in httpd

/etc/httpd/conf/httpd.conf:
-------------------------------------
<VirtualHost *:80>
   ServerName <hostname>:80
   ServerAdmin youremail at domain.com

   RedirectMatch  ^/$ https://<yourhostname>:<yourproxyport>

</VirtualHost>

/etc/httpd/conf.d/ssl.conf:
--------------------------------------
<VirtualHost _default_:8443>

#put the SSL options that you need/want
#and the following did the trick for me

ProxyPreserveHost on
ProxyPass / http://localhost:4567
ProxyPassReverse / http://localhost:4567

</VirtualHost>


Hope that helps,

-sebastien


On Tue, May 3, 2011 at 12:07 PM, Sebastian Neg <neg.sebastian at gmail.com> wrote:
> Hi Sebastien,
> I am also instersted to do a SSL proxy to econe with apache.
> Have you any documentatio?
> Thanks
> Regards --
>
>
> On Wed, Apr 13, 2011 at 4:12 AM, Steven Timm <timm at fnal.gov> wrote:
>>
>> Hi Sebastien--we have this working with pre-release
>> opennebula 2.2 at Fermilab and have contributed our
>> patches back to the trunk.  We've confirmed
>> that we can still use hybridfox to talk to the resulting combo.
>>
>> More details contact us offline.
>>
>> Steve
>>
>>
>>
>>
>>
>> On Tue, 12 Apr 2011, sebastien goasguen wrote:
>>
>>> Hi,
>>>
>>> In http://www.opennebula.org/documentation:rel2.2:ec2qcg
>>> lighthttp is used to create a SSL proxy for the econe server.
>>>
>>> Has anyone setup apache to do the same ?
>>> I am looking for some documentation on how to do a SSL proxy to econe
>>> with apache.
>>>
>>> Any help much appreciated,
>>>
>>> -sebastien
>>>
>>>
>>
>> --
>> ------------------------------------------------------------------
>> Steven C. Timm, Ph.D  (630) 840-8525
>> timm at fnal.gov  http://home.fnal.gov/~timm/
>> Fermilab Computing Division, Scientific Computing Facilities,
>> Grid Facilities Department, FermiGrid Services Group, Group Leader.
>> Lead of FermiCloud project.
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/



More information about the Users mailing list