Dump CA chain in PEM format
certutil -ca.chain outputfile.pem >NUL
– this commands dumps the chain to a text file in PEM format. Without the redirection (>NUL), the chain information is displayed on screen
Retrive Cert in CRT format
certreq -retrieve request# outputfile.crt
Retrive Cert in PEM format
certreq -retrieve request# outputfile.pem