How To Install SSL Through Virtualmin?


Short for Secure Sockets Layer, SSL protocol developed by Netscape for transmitting private documents via the Internet. SSL secure payment pathway uses a cryptographic system that uses two keys to encrypt data.

A public key known to everyone and a private or secret key known only to the recipient of the message. Both Netscape Navigator and Internet Explorer support SSL, and many Web sites use the protocol to obtain confidential user information, such as credit card numbers. By convention, URLs that require an SSL connection start with https.

Another protocol for transmitting data securely over the World Wide Web is Secure HTTP (S-HTTP). Whereas SSL creates a secure connection between a client and a server, over which any amount of data can be sent securely, S-HTTP is designed to transmit individual messages securely. SSL and S-HTTP, therefore, can be seen as complementary rather than competing technologies.

Please follow the steps given below to install ssl certificate installation via virtualmin

First logged into Virtualmin.

  1. Choose the domain for which you would like to add the SSL Certificate. You can do that by selecting the domain name from the drop-down box on the top-left.
  2. Click ‘Server Configuration’ -> ‘Change IP Address’.
  3. Click the radio button next to ‘Use private address’ in the ‘New IP address’ section.
  4. Enter your Virtual Server’s new private IP address you obtained for this SSL server certificate in the ‘Use private address’ field.
  5. Click ‘Change now’.
  6. Click Edit Virtual Server.
  7. Click Enabled features.
  8. Check the ‘SSL website enabled?’ checkbox.
  9. Click Save Virtual Server.At this point, you have a self-signed SSL server certificate. That means your communications are secured, but since this certificate wasn’t generated by a certificate authority, your users will receive a security warning every time they access the site.It’s recommended that you get a commercial certificate — the following steps detail how to obtain and install one.
  10. Click Server Configuration.
  11. Click Manage SSL Certificate.
  12. Click Signing Request.
  13. Enter the domain name you wish to use for SSL in the Server Name field.
  14. Enter your email address in the Email Address field.
  15. Enter your business name or organization in the Organisation field.
  16. Click Generate CSR Now
  17. This next step you have to do on your own. Take the resulting “CSR”, and take it to one of the many companies able to create SSL certificates. Have them use the CSR you made to generate your SSL Certificate.
  18. Click New Certificate.
  19. Paste in the contents of the SSL Certificate you received into the Signed SSL certificate field.
  20. Keep the Matching private key provided by Virtualmin.
  21. Click Install Now. Please check it and it should work fine.

Source: RailsCarma