SSL for OpenERP

I have configured bahmni to use SSL. However, when I go to openERP using port :8036 the browser is showing the connection as not secure. How can I apply the same ssl certificate to port 8036 as well for OpenERP?

Assuming that openerp/ODOO is accessible without SSL eg

  1. Get SSL certificate for the openerp/ODOO domain

  2. service httpd stop

  3. In /etc/httpd/conf.d/ssl.conf add this section at the end

    <VirtualHost *:443>
        SSLProxyEngine on
        SSLEngine on
        SSLCertificateFile <pathto your cert file>/cert.pem
        SSLCertificateKeyFile <pathto your private key file>/privkey.pem
        SSLCertificateChainFile <pathto your chaining file>/chain.pem
        RequestHeader set "X-Forwarded-Proto" "https"
        ProxyPreserveHost On
        ProxyPass / http://localhost:<ODOO port>/
        ProxyPassReverse / http://localhost:<ODOO port>/
  4. service httpd start

  5. Close earlier open browsers. Clear cookies etc. and access

1 Like