Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mylamour opened this issue Mar 21, 2020 · 0 comments
Open

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

mylamour opened this issue Mar 21, 2020 · 0 comments
Labels
学习 learning 安全 security

Comments

@mylamour
Copy link
Owner

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

@mylamour mylamour added 学习 learning 安全 security labels Mar 21, 2020
@mylamour mylamour closed this as completed Apr 4, 2021
@mylamour mylamour reopened this Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
学习 learning 安全 security
Projects
None yet
Development

No branches or pull requests

1 participant