Need transfer both key to another router. Source and destination router both have identical firmware and model number.
Is it possible to transfer both rsa key to another router using a previously maded binary copy with “/system backup save name=router1” ?
Unfortunately, such a model is not available for conducting a real experiment. The question is interesting in terms of recovery in case of equipment failure.
A real experiment was conducted on another router 2 of the same model and firmware.
When restoring a binary backup from router 1 to router 2 the private key appears in the list of keys but does not work.
You need to re-generate the private key on router 2.
It’s long-standing problem. If you want to backup your config, you can use backup, but you get one big unreadable binary file, which is not meant for transferring to other devices. I thought it would survive with same device models, but maybe not even that. To fix some shortcomings of backup, you can use export. It produces nice readable config in text form, so you can easily check what’s in there, take some parts from it to use elsewhere, etc. Wonderful. Until you realize that it doesn’t contain “secret” stuff like keys, certificates, … And so far there’s no good solution.