1.Install:sudo apt-get install libnss3-tools

2.excute:certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n <证书别称> -i <证书文件名>

3.If it is new system, your certificate database might not be initialized. To fix this, perform:
mkdir -p $HOME/.pki/nssdb
certutil -d $HOME/.pki/nssdb -N

4.certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n <证书别称> -i <证书文件名>

常用命令:

certutil -d sql:$HOME/.pki/nssdb -L  :查看证书

certutil -d sql:$HOME/.pki/nssdb -D -n <证书别称> :删除证书

相关文章:

  • 2021-12-08
  • 2021-06-22
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
猜你喜欢
  • 2021-09-13
  • 2022-01-01
  • 2021-12-16
  • 2021-11-18
  • 2021-08-24
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案