Answer the question
In order to leave comments, you need to log in
How to install a wildcard certificate on a server?
Given:
a server on Ubuntu 18.04.1 LTS with a configured NGINX
domain and a network of its subdomains
for the domain and all subdomains, free Letsencrypt SSL certificates were issued with the help of Certbot
, there was a project need to issue a Wildcard certificate.
On reg ru it was issued and paid for, they sent me two files in .csr and .key formats.
I am a strong teapot in this matter and have no idea what to do next with them, respectively, and there is no particular understanding of what to google
Please help understand or at least determine the further direction of the search
Answer the question
In order to leave comments, you need to log in
Really can't find the official instruction on reg.ru or ask in their TP?
https://www.reg.ru/support/ssl-sertifikaty/ustanov...
You need to google the title of your message and plus nginx.
Official site of nginx: https://nginx.org/ru/docs/http/configuring_https_s...
Good afternoon.
Three files are required for installation: a domain certificate.crt (or cer, etc.) file, a .key key file, and a certification authority certificate chain file.
Before installing on nginx, you need to combine the certificate file with the CA chain file to get the construction:
-----BEGIN CERTIFICATE-----
#your domain certificate#
-----END CERTIFICATE-----
---- -BEGIN CERTIFICATE----- #Intermediate
certificate#
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
#Root certificate#
-----END CERTIFICATE--- --
Copy the received general certificate file + chain and key file to the server and register it in VirtualHost for port 443:
ssl on;
ssl_certificate /etc/nginx/ssl/domain+ca.crt;
ssl_certificate_key /etc/nginx/ssl/domain.key;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question