Answer the question
In order to leave comments, you need to log in
I bought a GGS Domain SSL certificate through high-cloud.ru. How to install it for Nginx on Debian?
I bought a certificate from GoGetSSL on high-cloud.ru (here: https://high-cloud.ru/gogetssl/gogetssl-domain-ssl/ )
Four files came with the following names:
-----BEGIN CERTIFICATE-----
, and now it is absolutely unclear how to screw this mess to Nginx. An Internet search led me to a complete stupor - everything is done differently everywhere: extensions, initial lines of file contents, approaches to the Nginx configuration files themselves. And, what is most offensive - everyone has either one or two certificate files - and here there are as many as four. And, as luck would have it, I'm not even close to being a webmaster and I can't guess. In addition, I see Nginx, and indeed the web for the first time from the inside. Answer the question
In order to leave comments, you need to log in
You should receive:
1. The certificate itself to the site
2. The certificate(s) of the intermediate CA(s)
3. The root certificate
They can be sorted into files in different combinations. Often like this: site certificate separately, certificate + all intermediate + root, intermediate + root.
For nginx, you need to write in ssl_certificate - the path to the file with the site certificate + intermediate ones (it is better not to include the root there) and ssl_certificate_key - the path to the private key (created when requesting a certificate).
I suspect that mydomainname_ru.crt is a naked website certificate. Look at the contents of the rest of the files, how many BEGIN / END blocks are there and which ones.
You can view the contents of the certificate (only the first BEGIN/END block!) with the command:
openssl x509 -in /path/to/file.crt -text
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question