Export Certificate After Generating In Top Secret
search cancel

Export Certificate After Generating In Top Secret

book

Article ID: 17929

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

After generating a digital certificate, how do you export it and make sure the private key is in there to be added to other key rings?

Resolution

Use the following format of the EXPORT command to export a digital certificate with its private key:

 	TSS EXPORT(USERA) DIGICERT(USERCERT) DCDSN(Your.export.dataset) FORMAT 	(PKCS12DER) PKCSPASS(PKCSpassword)

And add it (import it) to an acid on another location (ie a different cpu):

 	TSS ADD(USERA) DIGICERT(USERCERT) DCDSN(Your.export.dataset) LABLCERT(USERA_CERT) PKCSPASS(PKCSpassword) TRUST 

Then add it to the required key ring with:

 	TSS ADD(USERB) KEYRING(USRBRING) RINGDATA(USERA,USERCERT) DEFAULT USAGE(PERSONAL)