How to migrate users and certificates



  • Hi.
    I wish to migrate a full installation of pfSense to a new hardware, but I wish to migrate only users and certificates, as I wish to remake all firewall and NAT configuration from scratch to make it better.
    I tried to export users as XML but I realized that it exports and imports only users, but no certificates.
    Could you help me, please?
    Thank you very much!
    Bye.



  • You could export them via the cert manager, then import them on the new box.



  • @dotdash:

    You could export them via the cert manager, then import them on the new box.

    Thank you very much for your answer.
    I knew that, but isn't it possible to bulk import more than one certificate per time without cutting/pasting each certificate?


  • Rebel Alliance Developer Netgate

    Not quite as simple, but you could export the old config, hand copy the certs, cas, and users sections and then drop those into the new config.

    It's just plain text XML, not terribly scary with a text editor.