ā02-11-2023 01:50 PM
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
ā02-11-2023 02:16 PM
Never seen this error. What happens if you set the time correctly or by NTP?
ā02-11-2023 02:22 PM
Generate key, can I see command you use for key generate?
ā02-11-2023 02:30 PM
crypto key generate rsa general-keys modulus 2048
ā02-11-2023 02:37 PM
crypto key generate rsa general-keys modulus 1024 <<- change key size to 1024
ā02-11-2023 06:34 PM
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
ā02-12-2023 03:49 AM
clock is well configured ==> i'll reset it and check
ā07-18-2024 06:25 AM
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
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