Answer the question
In order to leave comments, you need to log in
How to check which SSL certificate is installed?
The bottom line is this:
There is a boxed Bitrix24, deployed on linux.
There is ssh access.
How can I check which certificate I currently have installed?
I know that the question may seem ridiculously simple, but with Linux it’s completely on you, but you need to check it.
Answer the question
In order to leave comments, you need to log in
You can view the certificate data through openssl (knowing where it is):
where /etc/nginx/ssl/cert.crt is the path to the installed certificate
How can I find out which certificate is used in BitrixVM?
In the /etc/nginx/bx/site_avaliable folder, look for the site configuration that handles the https connection and matches your domain name (or underscore).
It is usually called ssl.s1.conf and will contain something like this (quote, not the whole content):
server {
listen 443 default_server http2;
server_name _;
# CERTIFICATE ANSIBLE MANAGED BLOCK
include bx/conf/ssl_options.conf;
ssl_certificate zzzzz/fullchain.pem;
ssl_certificate_key zzzzz/privkey.pem;
ssl_trusted_certificate zzzzz/chain.pem;
# CERTIFICATE ANSIBLE MANAGED BLOCK
echo | openssl s_client -showcerts -servername site.name -connect site.name:443
# или
curl -v https://site.name/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question