SSL Certificate
Adding trusted root certificates to the server
references:Checking Kubernetes pod CPU and memoryBulk deletion of Kubernetes resources
references:
Checking Kubernetes pod CPU and memory
Bulk deletion of Kubernetes resources
MacOS
add
$ sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt
remove
$ sudo security delete-certificate -c "<name of existing certificate>"
Ubuntu
$ cp ca.crt /usr/local/share/ca-certificates/ $ sudo cp foo.crt /usr/local/share/ca-certificates/foo.crt $ sudo update-ca-certificates
$ sudo rm -rf /usr/local/share/ca-certificates/ca.crt $ sudo rm -rf /usr/local/share/ca-certificates/foo.crt $ sudo update-ca-certificates --fresh
CentOS 6
$ sudo yum install -y ca-certificates $ sudo update-ca-trust force-enable $ sudo cp foo.crt /etc/pki/ca-trust/source/anchors/ $ update-ca-trust extract
CentOS 5
$ cat foo.crt >>/etc/pki/tls/certs/ca-bundle.crt
Windows
$ certutil -addstore -f "ROOT" new-root-certificate.crt
$ certutil -delstore "ROOT" serial-number-hex
Last updated 10 months ago