Odoo Help


This community 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.


Is there a way to configure https for Odoo?

Rabie Sakhri
on 11/8/15, 5:54 AM 534 views


Please, Is there a way to get configure https for Odoo.

for example:

instead of using the syntax: http: // server-IP: 8069, I use https: // server-IP: 8069


Thank you @zbik for your help

Rabie Sakhri
on 11/8/15, 11:03 AM


| 5 4 7
Lodz, Poland

On 11/8/15, 9:43 AM

Example apache configuration:

<VirtualHost your.domain:443>
ServerName your.domain
SSLProxyEngine on
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/your.domain.crt
SSLCertificateKeyFile /etc/apache2/ssl/your.domain.key
SSLCACertificateFile /etc/apache2/ssl/your.domain.crt
RequestHeader set "X-Forwarded-Proto" "https"
SetEnv proxy-nokeepalive 1
ProxyPass /
ProxyPassReverse /
ProxyErrorOverride off
#TransferLog /var/log/apache2/transfer.your.domain.log
#Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1

Carlos Almeida
On 11/8/15, 2:58 PM

You will have to generate your own SSL certificate or buy one.

You will get/receive two files, a *.pem and a private one *.key. Move the files to locations bellow.


Add these lines in your server section:

server {
listen 443;
ssl on;
ssl_certificate /etc/ssl/certs/your.pem;
ssl_certificate_key /etc/ssl/private/your.private.key;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;



If you really want to listen on 8069, change above 443 to 8069.

Thank you @Carlos

Rabie Sakhri
on 11/30/15, 4:22 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/8/15, 5:54 AM
Seen: 534 times
Last updated: 11/30/15, 4:21 AM