Home Website Tutorials How to install paid SSL on Odoo 13

How to install paid SSL on Odoo 13

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

In the previous article, AZDIGI has shown you to install Odoo on CentOS 8 server. You can refer to the link below:

In this article, AZDIGI will guide you to install the SSL certificate on Odoo with NGINX Webserver. To do this, you need to install Odoo first

After installing Odoo, you need to verify and get an SSL certificate including 3 required files (Certificate, Private Key, CAcrt). Currently, AZDIGI provides SSL of all kinds, such as GOGETSSL, SECTIGO, DIGICERT with extremely attractive prices and supports free certificate verification with SSL DVs, you can refer to register at the following link:

Odoo SSL installation steps

To install Odoo SSL, you need the following 3 files:

  1. Certificate: *.crt
  2. Private Key: *.key
  3. CACertificate *.crt

Step 1: Create a file to save crt certificate and CACertificate

Note: Replace domain with your domain name.

AZDIGI Tutorial
vi /etc/ssl/certs/domain.crt
chmod 644 /etc/ssl/certs/domain.crt
    

After creating, you open the .crt file and enter the contents of the Certificate: *.crt and CACertificate *.crt.

How to install paid SSL on Odoo

Step 2: Create a file to save the Private Key

Note: Replace domain with your domain name.

AZDIGI Tutorial
vi /etc/ssl/private/domain.key
chmod 644 /etc/ssl/private/domain.key
    

After creating, you open the .key file and enter the content of the Private Key: *.key.

How to install paid SSL on Odoo

Step 3: Configure vhost to install Odoo SSL

You need to open the vhost file to add the SSL certificate path. With Odoo, the configuration file is located at /etc/nginx/sites-enabled. I will open this file and configure as follows:

AZDIGI Tutorial
vi /etc/nginx/sites-available/odoo
    

Then you create a configuration with the following content (remember to change the domain with your domain name) or if the file you created is in a different path, you need to re-declare the corresponding path.

listen 443;
  ssl on;
  ssl_certificate /etc/ssl/certs/domain.crt;
  ssl_certificate_key /etc/ssl/private/domain.key;
  ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
How to install paid SSL on Odoo

After you have declared the certificate, save the configuration file and test nginx with the following command:

AZDIGI Tutorial
nginx -t
server nginx reload
    

If there is no error when testing Nginx, you can check the SSL certificate with the online tool sslshopper.

So AZDIGI has shown you to complete the Odoo SSL installation. Hopefully, this article will help you to be proactive in the installation without any problems.

If you have questions or need support, please live chat with Technical Department. Or send the ticket to the Technical Department according to the information below.

  • Hotline 247: 028 888 24768 (Ext 0)
  • Ticket/Email: You can use your email to register for the service and send it directly to: support@azdigi.com

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign