Moving an SSL Certificate

PBComputer

Well-Known Member
Reaction score
538
Location
Carlisle, Cumbria, UK
I'm planning on moving an ssl cert from one server to another. Both services run Windows and host my unifi cloud controller.

Both have the same sub domain. But the new server uses the correct ports the old server did not. So I set it up again.

I've a copy of the unifi install. Can I just copy some of files from one install to another and the certificate will start working? Or is there more to it.

If I can just move it. Does anyone know which files.


Thanks in advance.
 
Last edited:
You are probably going to run into problems because usually there are unique signing requests.
 
as long as you're accessing it using the same name and the certificate requirements as the same, I don't think there will be a problem.

You might be able to just copy your entire Ubiquiti Unifi 'data' folder over to the new server after installing the controller.

Otherwise you will have to restore from backup and import the certificate again. I used the first accepted solution here:
https://community.ubnt.com/t5/UniFi-Wireless/UniFi-Server-HTTPS-Certificate/td-p/338040
 
as long as you're accessing it using the same name and the certificate requirements as the same, I don't think there will be a problem.

You might be able to just copy your entire Ubiquiti Unifi 'data' folder over to the new server after installing the controller.

Otherwise you will have to restore from backup and import the certificate again. I used the first accepted solution here:
https://community.ubnt.com/t5/UniFi-Wireless/UniFi-Server-HTTPS-Certificate/td-p/338040

I would copy the whole folder but the old install has a fault with it as it's using the wrong ports. I did try copying the whole folder but nothing worked after that
 
What version of Windows is this ? How did you bind the cert ? I dont understand how simply moving file structure of an application is going to get a cert to work. Certs bind to websites, usually to specific or all IP's but its done in IIS management, not just file copies.
 
What version of Windows is this ? How did you bind the cert ? I dont understand how simply moving file structure of an application is going to get a cert to work. Certs bind to websites, usually to specific or all IP's but its done in IIS management, not just file copies.

The Unifi Controller software does not use IIS
 
Back
Top