Odoo Help


How to Apache SSL proxy to openerp running in VM?

on 4/4/13, 11:38 AM 4,714 views

hi, I have installed openerp v7 in an ubuntu 12.04 Virtual machine from launchpad.i.e server, web, addons.

I configured SSL reverse proxy on virtual machine and my configuration for virtual host *:443 are

<VirtualHost *:443>
ServerName openerp.mydomain.net
ServerAdmin openerp@localhost

SSLEngine on
SSLCertificateFile /etc/ssl/openerp/server.crt
SSLCertificateKeyFile /etc/ssl/openerp/server.key

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from all

ProxyVia On

ProxyPass / http: //
ProxyPassReverse / http: //

RequestHeader set "X-Forwarded-Proto" "https"

# Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1


on host, i have configured apache reverse proxy for my subdomain in vhost_ssl.conf as

SSLEngine On 
SSLProxyEngine On 
ProxyRequests Off 
ProxyPreserveHost On

<Proxy *>
    Order deny,allow
    Allow from all 

ProxyPass / https: // 
ProxyPassReverse / https: //         
SetEnv proxy-nokeepalive 1

<Location />
    Order allow,deny
    Allow from all 

I have set on netrpc and xmlrcs interfaces in openerp-server.conf. Now, when i access https: //openerp.mydomain.net from firefox and chrome browser.., I get http: //openerp.mydomain.net, openerp.mydomain.net/?db=testingdb which says not found.

But when i access URL from IE 9, the URL https: //openerp.mydomain.net works ok .. secondly if i change the parameter list_db= false, then the links works as expected.. Kindly let me know what is creating bottleneck here, i am struck from here making the URL to work.

Awaiting response, thanks in advance.

Why does this question have a bzr tag? Surely it has nothing to do with bazaar? I don't think it relates to installation either, which means another two tags can go. Since all questions here should be about openerp, that tag could go as well, leaving you with a single tag: v7. Instead you could have added tags like: apache, proxy, ubuntu and ssl. Just a suggestion.

Lorenzo Cabrini
on 4/4/13, 1:12 PM

Thanks for suggestion, i have changed it.

on 4/5/13, 5:45 AM

awaiting for workaround solution. . . Anyone.

on 5/6/13, 3:59 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/4/13, 11:38 AM
Seen: 4714 times
Last updated: 3/16/15, 8:10 AM