U
U
Urukhayy2015-05-22 18:59:10
System administration
Urukhayy, 2015-05-22 18:59:10

How to install SSL certificate on VPS without ISP, only via SSH and FTP?

How to install SSL certificate on VPS without ISP, only via SSH and FTP?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2015-05-22
@OnYourLips

Via SSH, copying them to the server and setting them in the nginx virtual host settings.

S
Sergey, 2015-05-23
@Weidmann

It's in /etc/httpd/conf.d/ssl.conf
SSLProtocol -ALL -SSLv2 -SSLv3 +TLSv1 +TLSv1.1 +TLSv1.2
SSLHonorCipherOrder On
SSLCipherSuite ECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:ECDHE -RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE -DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256 -SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256 :DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256 -SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH -RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
In the virtualhost you write:
SSLEngine on
SSLCertificateFile /path/to/domain certificate.crt SSLCertificateKeyFile
/path/to/certificate
key.key SSLCertificateChainFile /path/to/CA certificate.crt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question