HOW TO INSTALL SSL ON WEBMIN.
An SSL (Secure sockets Layer) certificate is a small data file that binds a cryptographic key to an organization’s, a digital process. When the certificate is installed it activates a padlock and the https and the certificate only allows secure connections between a web browser and the server.
Webmin is a web-based interface for the Unix system administration. Webmin simply of a simple web server and some CGI programs that directly makes updates on files like /etc/inetd.conf and /etc/passwd.Both the web server and all the CGI programs are written in perl version 5 and they use no non-standard Perl modules. The webmin allows admin to set up, securely, DNS, User accounts, File sharing and apache.
Procedure involved to install SSL certificate on webmin.
Requirements for the procedure to installing SSL/TLS certificate in webmin.
- The Server Certificate.
This is the certificate sent to you from the certificate authority for your domain. The certificate may have been sent to you via e-mail and it this is not the case then you will have to download it manually by visiting your account dashboard then click on your order that you made.
- The Intermediate certificate.
The above files allow all the devices that are connected to your server to get to identify the issuing certificate authority. There may be more than just one of these certificates. If by any chance that you got your certificate in a ZIP folder then it should also contain the intermediate certificates that are sometimes known as the certificate authority bundle. If this is not the case go on to download the appropriate certificate authority bundle for your certificate.
- Your Private Key.
This file should be in your server or if you generated your CSR from a free generator tool then the certificate should be in your possession. On some platforms the private key is not visible to you but the server keeps track of it.
- Copy certificates to your server.
This is done by copying the SSL and intermediate along with the private then put them on your server.
- Locate your Mniserv.pem.
It is usually located in the same section as the MInisev.conf file that is yours of which you are going to be replacing the miniserv.pem with a new one that will create in a short while.
- Create a new Miniserv.pem.
To accomplish you can follow either two procedures.
One procedure includes opening both your SSL certificate and private key the paste them into a new .txt file and then complete by saving it as new-miniserv.pem.
The other procedure is to the command line below:
cat private.keyyourdomain.crt > new-miniserv.pem
- Configure the miniserv.conf file.
Lastly you will need to add your intermediate. Go ahead to open your .conf file then enter the location of the intermediate that you have copied to the server earlier.
Congratulations! The installation is now successfully complete.