Previous Topic: ISSUERDN and SERIALNUM Keywords—Identify CertificateNext Topic: JOBNAME Keyword—Bring Data Set into Hyperspace


Examples: ISSUERDN and SERIALNUM keyword

This example lists the contents of a digital certificate using the SERIALNUM/ ISSUERDN:

TSS LIST(user1) SERIALNUM(5C072BEA1234OU)
                ISSUERDN('OU=Class 1 Certificate.
                           O=BobsCertAuth, Inc.
                           L=internet.
                           C=US')

This example updates the TRUST status to trusted:

TSS REPLACE(acid1) SERIALNUM(5C072BEA1234OU)
                   ISSUERDN('Certificate.O=BobsCertAuth, Inc.L=internet.C=US')
                   TRUST

This example removes a user's digital certificate:

TSS REMOVE(user1) SERIALNUM(5C072BEA1234OU)
                  ISSUERDN('Certificate.O=BobsCertAuth, Inc.L=internet.C=US')

If the certificate being removed has a connection to a key ring, the certificate is removed along with any key ring connections it may have.