Transcript for:
Installing Self-Signed SSL Certificate on Ubuntu

Hello everyone, welcome to Linuxcell.com. Now I am going to explain how to install self-signed SSL certificate on Ubuntu 18.04. First of all, SSL is a protocol that is used to send traffic between server and client in a secure manner. It provides secure and encrypted transaction between the browser and websites. This protocol generates a certificate which end user to authenticate the pre-requirement of installing a self-signed SSL certificate on the system. you need to install a lamp setup on your system now i'm going to install a open ssl package using the following command then hit enter the package is already installed so nothing to do now i'm going to create a new self-signed ssl certificate on the system using the following command open ssl request and then here i have to mention a protocol standard of x509 it's meant by a maker self-signed certificate instead of generating a certificate signing request as would normally happen and then here i have to mention a notes it's meant by a open ssl to skip the option to secure our certificate with the passphrase we need apache to be able to read the file without using intervention when the server starts up a passphrase would prevent this from happening because you would have to enter it after every restart and then here i have to mention a days for expiry of the certificate and then here i have to mention a count of days 365 and then here i have to mention creating a new key rsa rsa stands for algorithm and then here i have to mention 2048 it's mean by a bits long of password and then here i have to give the argument of k out it's mean by open ssl where to place the generator private key file that we are creating and then here i have to mention a destination of key file and then here i have to give my key file name and then here i have to give the argument of out It's meant by OpenSSL where to place the certificate that we are creating. And then here I have to mention the destination where storing a certificate file. And then here I have to mention a certificate file name. Then hit enter. And then here we have to give the detail. Or else you can just press enter. The SSL private key and certificate has been created successfully. Now I'm going to create a new directory inside a HTML directory. Then hit enter. Then I'm going to create an index file inside a mind directory. then hit enter and then here i have to give my content after giving the content we need to save an exit from this file then we have to change ownership and permission of the own html directory using the following commands now i'm going to create a new cellost configuration for accessing our one site with the secure manner and then here i have to create a new file mine iphone ssl dot conoff then hit enter the file is open now and then here we can configure the virtual host and then here i have to mention a port number of first tps and then here i have to give the content of ssl engine on and then here i have to mention a certificate path and then here i have to mention a private key path as usual i have to give my server name then i have to give my document root after making the virtual host configuration we have to save and exit from this file then then we have to enable the site accessing for new creation of virtual host configuration then we have to disable the default site access then hit enter now we have to enable the ssl module using the following command then hit enter then we have to restart the apache service now we have to open a browser the browser is open now and then here we have to give the following url and then here we have to mention a local ip address or a domain name so i have to give my domain name then hit enter now you can see the error of a connection is not secure so we have to click advanced scroll down here and then here we have to choose add exception and then here we have to choose confirm security exception the site is open now now we are getting a secured manner website and then here we can see the sgdps these are all the installation process about how to make a self-signed ssl certificate on ubuntu 18.04 thanks for watching this video please subscribe our channel in excel if you want to further more videos please visit www.linuxcell.com if you have any queries please mail to support at linuxcell.com