Difference between revisions of "PKCS11"

From Dogtag
Jump to: navigation, search
m (References)
m
 
Line 24: Line 24:
  
 
* [[NSS PKCS11 API]]
 
* [[NSS PKCS11 API]]
 +
 +
= PKCS #11 Kit =
 +
 +
To list trusts:
 +
 +
<pre>
 +
$ trust list
 +
</pre>
 +
 +
To add an anchor stored in a cert file:
 +
 +
<pre>
 +
$ trust anchor <cert file>
 +
</pre>
 +
 +
To remove an anchor stored in a cert file:
 +
 +
<pre>
 +
$ trust anchor --remove <cert file>
 +
</pre>
 +
 +
To remove an anchor by ID:
 +
 +
<pre>
 +
$ trust anchor --remove "pkcs11:id=<cert ID>;type=cert"
 +
</pre>
 +
 +
See also:
 +
 +
* [https://p11-glue.github.io/p11-glue/p11-kit.html p11-kit]
 +
* [https://p11-glue.github.io/p11-glue/p11-kit/manual/trust-nss.html Using the Trust Policy Module with NSS]
  
 
= References =
 
= References =
Line 33: Line 64:
 
* [[SoftHSM]]
 
* [[SoftHSM]]
 
* [https://github.com/OpenSC/OpenSC/wiki/PKCS11-Module OpenSC]
 
* [https://github.com/OpenSC/OpenSC/wiki/PKCS11-Module OpenSC]
 +
* [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/PKCS11/Module_Specs NSS PKCS #11 Module Specs]

Latest revision as of 23:24, 26 May 2020

Overview

See also:

Java

See also:

Python

See also:

C

See also:

PKCS #11 Kit

To list trusts:

$ trust list

To add an anchor stored in a cert file:

$ trust anchor <cert file>

To remove an anchor stored in a cert file:

$ trust anchor --remove <cert file>

To remove an anchor by ID:

$ trust anchor --remove "pkcs11:id=<cert ID>;type=cert"

See also:

References