I am trying to install a wildcard certificate on a Cisco router.
It’s a virtual router running IOS-XE version 17.09.05a
Do I need to fill out all the info asked?
My case is a little different as I am not having an issue generating the certs.
So I have not included all the info for domain name, host provider, etc.
I am running certbot version 2.9.0
I’ve seen several related posts here and on Cisco’s site.
But none have worked for me.
This is one I am following.
It is an old post and things have changed.
Lets Encrypt is now issuing ECDSA certs instead of RSA.
I have successfully created the wildcard cert for my domain.
I have the following files: cert.pem, chain.pem, fullchain.pem, and privkey.pem
Following the procedures from the link, a few of the commands did not work for me.
Step 3 says to use OpenSSL to assign a password to the private key, using this command:
openssl ec -des -in privkey.pem -out privkey-enc.pem
That command created the privkey-enc.pem file, but never asked me for a password.
I used ‘ec’ in the command rather than ‘rsa’, as OpenSSL told me it was not an RSA key.
I found a different command that lets me assign a password.
So I used this instead:
ssh-keygen -p -f privkey.pem
Also the command at Step 5 needed modification.
I used this:
crypto key import ec host.domain.com.pem exportable terminal Cisco123
It asked me to paste in the public key and then the private key.
Then I get this:
% Key pair import failed.
No other messages in the logs.
Any ideas?
I suspect something is wrong with the private key and they way I assigned the password.
Thanks