Odoo Help


Is there a way to configure https for Odoo?

Rabie Sakhri
on 11/8/15, 5:54 AM 812 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
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

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: 11/8/15, 5:54 AM
Seen: 812 times
Last updated: 11/30/15, 4:21 AM