This will be a straight forward instructional exercise on the most proficient method to introduce a SSL certificate in Linux with Zpanel installed
The tutorial shows how to install SSL Certificate with zPanel. You can utilize a self-marked SSL Certificate or purchase.

To begin with make ssl directory to simply maintain and proceed with the following commands

If you want to install self-signed certificate first go through this linkĀ click here and generate your self signed certificate.

On the other hand in the event that you need to purchase an certificate, please submit domain_ssl.key to a SSL Provider, then you will get domain_ssl.crt and records.

Assuming that you have the following
1. domain_ssl.key
2. domain_ssl.crt

Now, go to zpanel admin login and go to Server Admin >> Module Admin >> Override a Virtual Host Setting >> Select a domain and click Select Vhost



On port override field, enter : 443
Check ‘Forward Port 80 to Overriden Port’ on the off chance that you need to dependably utilize HTTPS
Fill IP Override : Server’s IP Address or you can leave it blank.

Next, fill the custom entry with your trusted ssl certificate as shown in below image


Then final step is either wait for 2 minute or restart apache service by the following command.

All done,