skip to main |
skip to sidebar
SSL in WebMin
- At the shell prompt, run the command openssl genrsa -out key.pem
- This will create the file key.pem which is your private key.
- Run the command openssl req -new -key key.pem -out req.pem . When it asks for the common name, be sure to enter the full hostname of your server as used in the URL, like www.yourserver.com. This will create the file req.pem, which is the certificate signing request (CSR)
- Send the CSR to your certificate authority by whatever method they use. They should send you back a file that starts with -----BEGIN CERTIFICATE----- which can be put in the file cert.pem.
- In Webmin, enter the Webmin Configuration module and click on SSL Encryption.
In the SSL Encryption form (shown in Figure 3-2), enter the path to your key.pem file into the Private key file field, and the path to your cert.pem file into the Certificate file field. - Click the Save button to switch to the new certificate.