A
A
Alexander Semenenko2017-07-28 18:30:26
CentOS
Alexander Semenenko, 2017-07-28 18:30:26

How to install ca certificate (ca.crt) on Centos7?

Good afternoon!
How to install ca.crt on Centos7? Or how to check that it is installed?
I tried to install like this:
cp ca.crt /etc/pki/ca-trust/source/anchors/
update-ca-trust extract
But did the certificate install?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2017-07-28
@CityCat4

ca.crt is, judging by the name, a certificate of a certain CA that issues its own certificates? Then:
- copy it to /etc/pki/tls/certs
- ln -s ca.crt `openssl x509 -hash -noout -in ca.crt`.0
Many programs look for CA certificates either along the path from openssl.cnf or in general, strictly laid down.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question