Configure CA Support on a Cisco Router
Step 8 – save the configuration

Use the copy system:running-config nvram:startup-config command to save the configuration. This command includes saving RSA keys to private NVRAM. RSA keys are not saved with the configuration when a copy system:running-config rcp: or copy system:running-config tftp: command is issued.