title: GnuTLS verify certificate: anything easy to use?
body: <p>In OpenSSL, I can verify certificate using the following command.</p>
  
  <pre><code>$ openssl verify -CApath /etc/ssl/certs cert_to_be_verified.pem
  </code></pre>
  
  <p>I wonder if there is similar command in GnuTLS. The closest one I can find is "certtool". But "certtool" needs to specify the CA file, which is kind of very inconvenient compared with OpenSSL. Thanks a lot for the tip!</p>