Migrating server and activating SSL

Discussion in 'Installation/Configuration' started by cyriltra, Oct 2, 2018.

  1. cyriltra

    cyriltra New Member

    i'm right now preparing to migrate my server.
    ISPconfig 3 is running on the new server and I would like to enable https. However, it does not work (yet) because of dns migration not yet done (if my understanding is correct).
    My plan is to do DNS migration in last step, when everything is correctly working on the new server.
    Is there a way for me to enable and test https protocol on my new server without migrating DNS ?
    Thank you
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Use openssl to create you ssl certs pending your dns propagation. I think that basic is covered in all perfect server tutorials.
  3. cyriltra

    cyriltra New Member

    Hi Ahrasis, so the idea here is not to use LE and SSL tick box from ISPconfig, but to manually set SSL certs via shell ?
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Yes. Temporarily until your domain dns properly is propagated to the new ip.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, there is such an option when you have SSL on the old server. Copy over the /etc/letsencrypt folder from old to new server, then enable migration mode under system > server config in ISPConfig on the new server. When you enable LE for a site now, then ispconfig will try to reuse the old cert from /etc/letsencrypt instead of trying to fetch a new one. Don't forget to disable migration mode after you switched dns to the new server.
    ahrasis likes this.

Share This Page