Linux (Ubuntu, Debian)
To add:
Copy your CA to dir /usr/local/share/ca-certificates/
Use command: sudo cp foo.crt /usr/local/share/ca-certificates/foo.crt
Update the CA store: sudo update-ca-certificates
To remove:
Remove your CA.
Update the CA store: sudo update-ca-certificates --fresh