Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Certificate Authority file in CentOS 7

I am trying to add certificate Authority (CA) file name - ca.crt to /etc/ssl/certs, for that I followed this article.

I copied my ca.crt file to /etc/pki/ca-trust/source/anchors/ and run the command below;

update-ca-trust extract 

After that I checked /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt file, but I didn't find my CA.

I am not able to figure out what may be the problem.

What am I doing wrong and how can I fix it?

like image 562
Yogesh Jilhawar Avatar asked May 05 '16 05:05

Yogesh Jilhawar


People also ask

How do I add a Certificate Authority?

Expand Policies > Windows Settings > Security Settings > Public Key Policies. Right-click Trusted Root Certification Authorities and select Import. Click Next and Browse to select the CA certificate you copied to the device. Click Finish and then OK.


1 Answers

copy your certificates inside

/etc/pki/ca-trust/source/anchors/ 

then run the following command

update-ca-trust 
like image 177
shalamus Avatar answered Oct 15 '22 18:10

shalamus