DEV Community

Miklos Halasz
Miklos Halasz

Posted on

Check systems trust store

I recently had to check whether a CA certificate was added to the trust store of a Linux I was working on. The system already had p11-kit installed so I could use the trust command like this:

trust list
Enter fullscreen mode Exit fullscreen mode

This command lists all entries from the system's trust store. It's a quite long list but you can use grep to filter it and find exactly what you are looking for, like this:

trust list | grep e-Szigno
Enter fullscreen mode Exit fullscreen mode

Top comments (0)