Linux > Virtualization

How to Install SolusVM Master SSL Certificate.

(1/1)

Aby:
How to Install SolusVM Master SSL Certificate.

From SSH Terminal:


--- Code: ---cd /usr/local/solusvm/ssl
openssl genrsa -out solusvm.key 2048
openssl req -new -nodes -key solusvm.key -out solusvm.csr
--- End code ---

When ordering your certificate be sure to select 'Apache' as your server type.

When you receive the certificate, rename it to 'solusvm.cer' and upload it to /usr/local/solusvm/ssl. If your provider also supplied a CA Bundle or Chain File upload these too but take a note of their file names.
We need to create the appropriate .pem file required by lighttpd:


--- Code: ---cd /usr/local/solusvm/ssl/; cat solusvm.key solusvm.cer > solusvm.pem
--- End code ---

Now we edit the lighttpd.conf file and point it to our new .pem file and certificate:

Enter to lighttpd.conf:

--- Code: ---$SERVER["socket"] == ":5656" {
 ssl.engine = "enable"
 ssl.pemfile = "/usr/local/solusvm/ssl/solusvm.pem"
 ssl.ca-file = "/usr/local/solusvm/ssl/gd_bundle.crt"
}

--- End code ---
Note: If you have changed the ports for your SolusVM Master you will need to specify the certificate location for these too.

Save the configuration file and restart lighttpd:

--- Code: ---service lighttpd restart
--- End code ---

Navigation

[0] Message Index

Go to full version