OpenERP 7 with SSL on Ubuntu 12.04

Lets assume that apache and required packages are installed on system.

There are some commands needs to execute to run OpenERP on SSL.

sudo apt-get install apache2
sudo a2enmod ssl proxy_http headers rewrite

Now we have created certificate and key so we have to execute these commands one by one.

sudo mkdir /etc/ssl/openerp

openssl genrsa -des3 -out oeserver.pkey 1024
openssl rsa -in oeserver.pkey -out oeserver.key
openssl req -new -key oeserver.key -out oeserver.csr

At last we signed certificate here.

openssl x509 -req -days 365 -in oeserver.csr -signkey oeserver.key -out oeserver.crt

We also created apache configuration file.

sudo vim /etc/apache2/sites-available/openerp

<VirtualHost *:443>

SSLEngine on
SSLCertificateFile /etc/ssl/openerp/oeserver.crt
SSLCertificateKeyFile /etc/ssl/openerp/oeserver.key

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy *>
ProxyVia On
ProxyPass /
<location />
ProxyPassReverse /

RequestHeader set “X-Forwarded-Proto” “https”

SetEnv proxy-nokeepalive 1

Now enable above configuration execute below command

sudo a2ensite openerp

After above configuration, just restart OpenERP server and use this URL to test:


Leave a Reply

Your email address will not be published. Required fields are marked *

nine + 18 =

Following Acespritech Solutions Pvt Ltd
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 632 other subscribers

Facebook Pagelike Widget
  • SMSTS Essex
  • paynet11
  • Bobby Carsan
  • webinarstarterblueprint
  • Thr Viral Blog
  • magePoint
  • vteamitdevelopers
  • sijisblog
  • setiaji
  • kusbas
  • sergo75
  • Natural Skin Care Love
  • CrypTee
  • Ms Shubharambh IT Solution Pvt Ltd
  • Myownbosszone
  • roslionel
  • BlookUp
  • devangpipaliya
  • pityfox
  • penelopeburns
  • satyamslg34gmailcom
  • Hilar AK
  • Vishvesh Suthar
  • Kieran Doswell
  • brian2010
  • Nanoarch Software Solutions
  • webdevelopmentcompanyusa500104195
  • Mr. Gadget Heisenberg
  • Acespritech Solutions Pvt. Ltd.
  • Randy
  • felishia green
  • New Affiliate News
  • Jozsef Torsan
  • health fitness diet
  • abdullahnasseeb
  • homeworkouthabit
  • thuonghieuws
  • Bookssorted Payroll Management
  • arasty
  • Jay Amefia
  • seoexpertdesign
  • corporateinvestigatordelhi
  • Charles A. Kush III
  • lilhedr
  • DuplicateMySuccess
  • Sir. George Githunguri
  • primeworks
  • derrickkorku
  • bea450
  • technoreviewmobileapps
Play Store (Android App)
%d bloggers like this: