03-17-2022 05:38 AM
Hi Guys,
I generated a CSR in ASA using CLI and sent it to my CA team to sign the CSR however, they told me that my CSR is only in SHA-1 and they need in SHA-2. How can I create a CSR with SHA-2 in ASA? Do I really need to use ECDSA instead of RSA or RSA alone can do the job to be in SHA-2?
Thank you very much for the help.
03-17-2022 05:41 AM
what version of ASA code running :
here is the steps :
03-17-2022 08:45 AM
Hi @balaji.bandi , I am using ASA OS 9.12(4)24 and I already tried the one that you've provided but still the CA still recognizes it as SHA1 and not SHA2. No sure what is really the issue.
03-18-2022 03:02 AM
can you post show ip ssh ?
03-17-2022 09:35 AM - edited 03-18-2022 04:40 PM
...
03-17-2022 11:13 PM
It seems that ASA is just generating CSR with SHA1 Encryption Algorithm and I confirmed it by using an OpenSSL. So what I did is to generate a CSR outside the ASA using the OpenSSL for me to have a SHA2. Not sure why is it like that hopefully is just a missing config.
03-17-2022 09:44 AM - edited 03-18-2022 04:40 PM
...
03-18-2022 12:37 AM
Most probably your asa is using the default rsa keys. You can check this using command show crypto key mypubkey rsa
to delete the RSA host key pair, enter the following command.
crypto key zeroize rsa
and to generate more than 2048 bits command is
crypto key generate rsa modulus 2048
And call these keys in your trust point.
These are few links shared by other If you follow them it will fix your problem.
03-18-2022 04:39 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide