cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
5485
Views
2
Helpful
7
Replies

% rsa keys cannot be generated, as system clock is invalid on 2960x

IBE
Level 1
Level 1

hello,

I can't generate rsa key on 2960

I have the error "% rsa keys cannot be generated, as system clock is invalid "

could you plz help

thanks

7 Replies 7

Never seen this error. What happens if you set the time correctly or by NTP?

Generate key, can I see command you use for key generate?

crypto key generate rsa general-keys modulus 2048

crypto key generate rsa general-keys modulus 1024 <<- change key size to 1024

johnd2310
Level 8
Level 8

Hi,

The clock on the switch is wrong or invalid. Set the clock to a valid date and time. You can set the clock on the switch manually or via NTP. NTP is the preferred  method. to set the clock manually use the "clock set" command.

Thanks

**Please rate posts you find helpful**

clock is well configured ==> i'll reset it and check

m4EDRE
Level 1
Level 1

Hey guys, i just wanna the complement saying that i just had the same problem here and setting the clock manually just solved for me.

After setting was just generate the key again and SSH enabled.

Remember that to set the clock you gotta be on enable mode haahha

 

thanks