To create and store a client certificate in the smkeydatabase file at the consumer:
smkeytool -createDB -password fedDB
For example, to create a private key using the PKCS8 format enter:
smkeytool -addPrivKey -alias CompanyA -keyfile idp1pkey.pkcs8 -certfile idp1.crt -password smdb
This example assumes you are running smkeytool from the directory where the certificate and key are located, so there are no file paths necessary.
The certificate is now added to the smkeydatabase.
Notes on Creating a Private Key
For example, if you entered CompanyA as the Affiliate Name, then alias would be Company A, and the attribute could be CN=CompanyA, OU=Development, O=CA, L=Waltham, ST=MA, C=US
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |