【CA】How to install root CA in your server?

| 分类 安全工程师  | 标签 PKI  证书  安全随笔 

Install Root CA in Server

  • Ubuntu
$ sudo mkdir /usr/share/ca-certificates/extra
$ sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt                    #Copy the CA .crt file to this directory
$ sudo dpkg-reconfigure ca-certificates                   #add the .crt file's path relative to /usr/share/ca-certificates to /etc/ca-certificates.conf
  • Centos
$ sudo cp foo.crt /etc/pki/tls/certs/ca-bundle.crt
$ update-ca-trust enable
$ update-ca-trust extract

Also, you can install CA to gold image

Resources


上一篇     下一篇