Use this procedure to generate a certificate signing request (CSR) and store it into a file. This CSR is required to obtain the offline subject certificate. The generated file is located in the /intflash/shared/certs folder.
enable
configure terminal
certificate generate-csr [relaxed]
certificate generate-csr subject-name WORD<1-45> key-name WORD<1-45>
Display the generated CSR.
Switch:1>enable Switch:1#configure terminal Switch:1(config)#certificate generate-crs subject-name 823 key-name pki Switch:1(config)#1 2021-02-02T13:57:39.716z Switch CP1 - 0x003a8635 - 0000000 GlobalRouter DIGITALCERTIFICATE INFO Generate CSR for Digital Certificate successful!