Blog

We keep the blog updated regularly with best practices, how-to guides, tips, and trends on various technologies. Learn more about how we deal with problems, our solutions, and overall services.

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 / http://127.0.0.1:8078/
<location />
ProxyPassReverse /
</location>

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

SetEnv proxy-nokeepalive 1
</VirtualHost>

Now enable above configuration execute below command

sudo a2ensite openerp

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

Comments

Leave a Reply

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

Following Acespritech Solutions Pvt Ltd
ACESPRITECH FACEBOOK
Facebook Pagelike Widget
Subscribe to Blog via Email

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

Join 145 other subscribers

  • corporateinvestigatordelhi
  • webinarstarterblueprint
  • primeworks
  • envisionfuture
  • webdevelopmentcompanyusa500104195
  • brian2010
  • Mounzer
  • seoexpertdesign
  • sergo75
  • satyamslg34gmailcom
  • derrickkorku
  • Sir. George Githunguri
  • bomihill
  • Randy
  • Charles A. Kush III
  • thuonghieuws
  • setiaji
  • Ms Shubharambh IT Solution Pvt Ltd
  • penelopeburns
  • paynet11
  • Jay Amefia
  • felishia green
  • kusbas
  • Acespritech Solutions Pvt. Ltd.
  • BlookUp
  • Kieran Doswell
  • lilhedr
  • devangpipaliya
  • SMSTS Essex
  • roslionel
  • bea450
  • Jozsef Torsan
  • CrypTee
  • New Affiliate News
  • Tech9logy Creators
  • naturalskincarelove
  • arasty
  • tekNorah
  • affiliatedmindset
  • technoreviewmobileapps
  • Thr Viral Blog
  • Hilar AK
  • Nanoarch Software Solutions
  • homeworkouthabit
  • Vishvesh Suthar
  • Bobby Carsan
  • Bookssorted Payroll Management
  • pityfox
  • Nisarg shukla
  • Myownbosszone
Play Store (Android App)
%d bloggers like this: