SSL certificate is becoming mandatory for web application. All modern web browsers are blocking request and ask user permission to proceed.
In this article, I will share you how you can install SSL certificate using Terminal access.
After you logged in to server, First generate CSR using openssl command.
This will ask few question through wizard. Answer them and proceed for next step.
Now we need to configure Apache server to use .key and .csr certificate files from home directory. Apache main configuration file located at /etc/apache2/sites-available/000-default.conf
file. Open the file using nano editor and change file.
In Terminal go to this /etc/apache2/ path and run the below command:
Lastly you will need to restart Apache server.
Now your domain will be ssl certificate installed. I hope this article will help you.
Link: https://hackthestuff.com/article/how-to-install-ssl-certificate-on-ubuntu-server