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 odoo.mydomain.org:ODOOPort#
-
Get SSL certificate for the openerp/ODOO domain
-
service httpd stop
-
In /etc/httpd/conf.d/ssl.conf add this section at the end
<VirtualHost *:443> ServerName odoo.mydomain.org ServerAlias odoo.mydomain.org 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>/ </VirtualHost>
-
service httpd start
-
Close earlier open browsers. Clear cookies etc. and access odoo.mydomain.org
1 Like