Top Secret SAFCRRPT Certificate Utility to determine Digital Certificate size
search cancel

Top Secret SAFCRRPT Certificate Utility to determine Digital Certificate size

book

Article ID: 232589

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

Want to be able to verify the size of new certificates prior to deploying them. 

Is there a way in TSS to check the overall size of a certificate. 

Environment

Release : 16.0

Component : Top Secret for z/OS

Resolution

The SAFCRRPT Certificate Utility can show the Certificate Length in Hex of all the certificates attached to a certain Keyring.

001000 //SAFRPTCR EXEC PGM=SAFCRRPT,REGION=0M,PARM=''    
001100 //SYSUDUMP DD  SYSOUT=*                           
001200 //SYSPRINT DD  SYSOUT=*                           
001300 //SYSIN    DD   *                                 
001301 USER(#####) RINGNAME(#####) DETAIL EXT      
001305 /*

 

Example of JCL output of a Cert Length :


User - ####### Digicert - #####     Signed by:  CERTAUTH.CICSAUTH       
          Usage           PERSONAL                                         
          Label           #####                                          
          Serial #  -     25                                               
          Issuer  DN -    CN=XXXXXXX                                
          Subject DN -    CN=CICS key                                      
          Active Date     2021                                       
          Expire Date     2023                                       
          Pvt Key Size    1024  RSA                                        
          Algorithm       sha256WithRSAEncryption                          
          Trusted         Yes                                              
          Cert Length     ####