{"id":813,"date":"2020-04-19T21:06:02","date_gmt":"2020-04-19T21:06:02","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=813"},"modified":"2026-11-05T17:09:58","modified_gmt":"2026-11-05T15:09:58","slug":"i-have-changed-my-server-or-moved-to-a-different-provider-how-do-i-move-the-certificate","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/i-have-changed-my-server-or-moved-to-a-different-provider-how-do-i-move-the-certificate\/","title":{"rendered":"How to Move an SSL Certificate to a New Server"},"content":{"rendered":"<p>You can move an SSL certificate to a new server if you still have its private key: copy the certificate, the private key and the CA bundle, then install all three on the new server. If you do not have the private key, generate a new CSR on the new server and ask your certificate provider to reissue the certificate, which most providers allow at no extra cost while it is valid. If you use a free certificate, simply issue a new one on the new host.<\/p>\n<h2>Why the private key decides your options<\/h2>\n<p>An SSL certificate works as a pair. The certificate is public and is sent to every visitor&#8217;s browser. The private key stays secret on the server and proves that the server is the rightful owner of the certificate. A certificate without its matching private key is useless.<\/p>\n<p>The private key is created on the server when you generate a CSR (certificate signing request). It is never sent to the certificate authority. So if the old server is gone and you did not save the key, nobody can recover it. Your only option is a reissue.<\/p>\n<h2>What you need before you move<\/h2>\n<ul>\n<li><strong>The certificate<\/strong> (CRT file) for your domain.<\/li>\n<li><strong>The private key<\/strong> (KEY file) that matches it.<\/li>\n<li><strong>The CA bundle<\/strong>, also called intermediate certificates or the chain. Browsers need this to link your certificate to a trusted root.<\/li>\n<li><strong>Access to your account with the certificate provider<\/strong>, in case you need to reissue.<\/li>\n<\/ul>\n<h2>Option 1: Export and reinstall the existing certificate<\/h2>\n<p>Use this when the old server is still running and you can reach the private key.<\/p>\n<h3>From a cPanel server<\/h3>\n<ol>\n<li>Log in to cPanel on the old host and open <strong>SSL\/TLS<\/strong>.<\/li>\n<li>Under <strong>Private Keys<\/strong>, open the key for your domain and copy the full text, including the BEGIN and END lines.<\/li>\n<li>Under <strong>Certificates (CRT)<\/strong>, copy the certificate for your domain.<\/li>\n<li>Copy the CA bundle from your certificate provider&#8217;s email or account, or from the old server&#8217;s SSL settings.<\/li>\n<li>On the new cPanel account, open <strong>SSL\/TLS &gt; Manage SSL sites<\/strong>, choose the domain and paste in the certificate, key and CA bundle. Click <strong>Install Certificate<\/strong>.<\/li>\n<\/ol>\n<h3>From a Windows or IIS server<\/h3>\n<p>Export the certificate as a .pfx file with the private key included, and protect it with a strong password. Import the .pfx on the new server, or convert it with OpenSSL if the new server runs Linux.<\/p>\n<h3>Handle the files carefully<\/h3>\n<p>Anyone who gets your private key can impersonate your site. Do not send it by plain email or paste it into chat apps. Move it over a secure channel and delete stray copies once the certificate is installed.<\/p>\n<h2>Option 2: Reissue the certificate with a new CSR<\/h2>\n<p>Use this when the private key is lost or you would rather not copy it between servers. Many administrators prefer this route because a fresh key never leaves the new server.<\/p>\n<ol>\n<li>Generate a new CSR and private key on the new server. In cPanel this is under <strong>SSL\/TLS &gt; Certificate Signing Requests<\/strong>.<\/li>\n<li>Log in to your certificate provider&#8217;s account and choose the reissue option for the existing certificate.<\/li>\n<li>Paste the new CSR and complete domain validation again. This is usually by email, a DNS record or a file on the website.<\/li>\n<li>Install the reissued certificate and CA bundle on the new server.<\/li>\n<\/ol>\n<p>The reissued certificate normally keeps the original expiry date. For OV and EV certificates, the organisation checks have already been done, so a reissue is usually quick.<\/p>\n<h2>Option 3: Free certificates<\/h2>\n<p>Free certificates, such as those issued automatically by cPanel AutoSSL or Let&#8217;s Encrypt, are not usually moved. They are short-lived and renew automatically. Once your domain points to the new server, the new host issues a fresh one. See <a href=\"https:\/\/tremhost.com\/help\/install-free-ssl\">how to install a free SSL certificate<\/a>.<\/p>\n<h2>Timing the move to avoid security warnings<\/h2>\n<p>Visitors see a browser warning if they reach a server that has no valid certificate for your domain. To avoid that:<\/p>\n<ul>\n<li>Install the certificate on the new server <strong>before<\/strong> you change DNS, if you are using Option 1 or 2.<\/li>\n<li>For free certificates, expect a short gap after the DNS change while the new server validates the domain and issues one. Lowering your DNS TTL a day before the move shortens the switch-over.<\/li>\n<li>Keep the old server running until DNS has fully moved. Read <a href=\"https:\/\/tremhost.com\/help\/dns-propagation-time\">how long DNS propagation takes<\/a>.<\/li>\n<\/ul>\n<h2>Check the installation<\/h2>\n<p>After installing, open the site in a private browser window and click the padlock to confirm the certificate details and expiry date. Use an online SSL checker to make sure the CA bundle is installed. A missing chain can work in one browser and fail in another, so it is worth checking.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Do I have to buy a new certificate when I change hosts?<\/h3>\n<p>No. A paid certificate belongs to your domain, not your host. You can move it with its private key or reissue it with a new CSR for the rest of its validity period.<\/p>\n<h3>Can I recover a lost private key from my certificate provider?<\/h3>\n<p>No. The provider never receives your private key. If it is lost, reissue the certificate with a new CSR.<\/p>\n<h3>Can I use the same certificate on two servers at once?<\/h3>\n<p>Technically yes, if both servers have the private key. Check your provider&#8217;s licence terms, as some limit the number of servers. During a migration, having the certificate on both servers is useful.<\/p>\n<h3>What happens to my free SSL when I move?<\/h3>\n<p>It stays on the old server until it expires. The new host issues its own free certificate once your domain points to it.<\/p>\n<h2>Next step<\/h2>\n<p>If you are moving your site to Tremhost, our team handles <a href=\"https:\/\/tremhost.com\/migrate\">free cPanel-to-cPanel migration<\/a>, and free SSL is included on all hosting. Paid certificates bought through <a href=\"https:\/\/tremhost.com\/ssl\">Tremhost SSL<\/a> are installed free on Tremhost hosting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moving hosts does not mean buying a new SSL certificate. Copy the certificate with its private key, or reissue it with a new CSR on the new server.<\/p>\n","protected":false},"author":1,"featured_media":814,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[24],"tags":[25],"class_list":["post-813","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssl","tag-ssl"],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=813"}],"version-history":[{"count":2,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/813\/revisions"}],"predecessor-version":[{"id":80680,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/813\/revisions\/80680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/814"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}