Openfire Upgrade security folder

Hi Guss,
As part of upgrading Openfire 4.1.6 to Openfire 4.8.1.(uninstall old version and install new version) As part of this process it will delete the security folder inside the package “C:\Program Files (x86)\Openfire\resources\security”
how should we manage this scenario? Should we manually restore this folder again after upgrade by keeping the backup of the previous version of security folder? Or do you have any suggestions?

Thanks in Advance

I don’t think the security folder is deleted by our upgrade process?

The important bits that are stored in there are the TLS certificates (in the keystore files), and maybe the encryption key. If you cannot re-configure the system after the upgrade with those, you could simply restore the folder from a backup, prior to starting the upgraded system, I think.