How to transfer CERTs?

Hi to all

i have working 7.20.7 MT with active OVPN server
i made a full binary backup, transfered to another device and restored
new device is also 7.20.7

problem is that clients connecting to new device could not be connected with OVPN because of missing TLS private key ? or something similar
sorry, could not make any screenshot,it is production MT with OVPN, so we switched back to old device very quickly

my question is

how could i transfer working MT with CERTs / OVPN to new one ?

if this is relevant info...

original is TILE
clone is ARM64

Don't restore backups between devices of different models!

You can export the individual certificates with

/certificate export-certificate XXX export-passphrase=YYY

Certificates - RouterOS - MikroTik Documentation

Specify the passphrase and the file with the encrypted private key will also be written (or if you also set type=pkcs12 then the key is embedded in the .p12 file). Move the files to the new device and import.

1 Like

tnx @CGGXANNX

i tried "easy" way .. :frowning:
will try next week again in maintenance window time

Save RouterBOARD full backup of everything [configuration, certificates, host key, router users (no passwords), licence, user-manager, dude, other files]

1 Like

tnx, worked as expected