Under the licensing portal did you try the import preloaded certificate option. There is an option there to recover the licenses and activations that were used on a controller. You can get them back by just entering the serial number of the controller.
Once you have them back in the licensning portal it should just be a matter of then copying the activation keys to your controller.
I have used this method a few times in the past.