Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Command

Command: Generate PKCS #10 certificate request
hwsetup -libname <pkcs11lib> -slot <slot#> -pin <PIN> [-id <CKA_ID>] [-login user|so] -genreq <subject DN>] [-file <filename>]

Example

To generate a PKCS #10 certificate request and store it in the file certreq.txt:

Example: Generate PKCS #10 certificate request and store in file certreq.txt
hwsetup -libname crypto -slot 1 -pin abcd -id mykey -genreq "cn=Test, c=SE"

Send certreq.txt to the CA so that the certificate can be issued.

Options and arguments

For a description of the options libnameslotpin, id, and login and their arguments, see Generate DSA/EC/RSA key pair.

Options and ArgumentsDescription
genreq <subject DN> Use this option to create a request for issue of a certificate. Replace <subject DN> with the subject distinguished name the CA
should use when issuing the certificate. Default: Null
file <filename> Use this option to select what file the request shall be written to. Replace <filename> with the name of the file. Default: certreq.txt


  • No labels