Skip to content

Commit

Permalink
Update HOWTO.md
Browse files Browse the repository at this point in the history
Signed-off-by: karamellpelle <[email protected]>
  • Loading branch information
karamellpelle authored and simo5 committed Jul 2, 2024
1 parent 07101bf commit 3636619
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ pkcs11-module-init-args = <initialization string here>

Once the section is properly constructed add the following statement to the
provider section. If a provider section does not exist make sure to create one
with all the needed providers (at least the default provider will be needed):
with all the needed providers (at least the default provider will be needed -
remember to activate it, otherwise the _openssl_ command will not behave
correctly):

```
[openssl_init]
Expand Down Expand Up @@ -65,8 +67,10 @@ $ openssl pkey -in pkcs11:id=%01 -pubin -pubout -text
### Specifying keys

When the pkcs11-provider is in use keys are specified using pkcs11 URIs as
defined in RFC7512. In general keys are either identified by a binary ID, or by
a label (called "object" in pkcs11 URIs).
defined in RFC7512. In general keys are either identified by a percent-encoded
binary ID, or by a label (called "object" in pkcs11 URIs). The command
`pkcs11-tool --module /path/to/pkcs11-driver.so --list-objects` can be used to
find identifiers for your keys.

Example:
```
Expand Down

0 comments on commit 3636619

Please sign in to comment.