India

ZestyBeanz Technologies Pvt Ltd 4th Floor, Nila, Technopark Thiruvananthapuram,
India – 695581
Phone: +91 471 4063254
Fax : +91 471 2700171

   .

ZestyBeanz Technologies Pvt Ltd
61/3236, Manikkath Cross Road
Ravipuram, Kochi, India - 682016
Phone: +91 484 4063254

  UAE

Zesty Labs
Office # 2003, Millennium Plaza Building
Sheikh Zayed Rd, Dubai, UAE
Phone: +971 4333 2222​
Mobile: +971-52-7553466

  Germany​

ZestyBeanz Technologies GmbH
Reuterstraße 1
90408 Nürnberg
Fon: +49 911 4801 444
Fax: +49 911 4801 445

Contact Form


fahad's picture

Setting ssl proxy for OpenERP-web

Https for the client-web, encrypts communication between your webbrowser and client-web server  which is connected to openerp-server.To enable https for the you can  use web-server and use  its proxy functions.

           1. Enabling apache proxy module can be done by

                              sudo a2enmod proxy ssl proxy_http

            2. Https for the client-web can be made to run on any other port than default ssl, we have to  include the port  to be used in /etc/apache2/ports.conf inside the <IfModule mod_ssl.c> container  as

                               NameVirtualHost *:33225

                               Listen 33225 (for example)

            3. Proxy Settings-   mywebname-ssl 

                         Create a new file using and add the following lines,

                                       sudo vim /etc/apache2/sites-available/mywebname-ssl

                <VirtualHost *:33225> 
                         ServerAdmin webmaster@localhost
                         ServerName <yourwebsitename>
                         ServerAlias www.<yourwebsitename>.com   

                         SSLEngine on
                         SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
                         SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

                        <Proxy *>
                               Order deny,allow
                               Allow from all
                         </Proxy>
                         ProxyRequests Off
                         ProxyPass / http://127.0.0.1:8080/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n... (OpenERP web running port)
                         ProxyPassReverse / http://127.0.0.1:8080/&nbsp;&nbsp;&nbsp;&nbsp;

                         # Fix IE problem (http error 408/409)
                         SetEnv proxy-nokeepalive 1
                 </VirtualHost >

           4. Enabling the site can be done by

                          sudo a2ensite mywebname-ssl

            5. Typing at the browser   https://yourwebsite:33225 will redirect you to the required web page if there are some issues you can comment the line or make the value 'False' in openerp-web.cfg

                                        tools.csrf.on = True

          If you are using the default-ssl then need to edit the lines  in
                     /etc/apache2/sites-available/default-ssl

                         <VirtualHost *:443>
                          -------------
                          -------------

                          ProxyRequests Off
                          ProxyPass / http://127.0.0.1:8080/
                          ProxyPassReverse / http://127.0.0.1:8080/

                         --------------
                         ----------------
                        </VirtualHost >

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo], [[foo]]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.