bitnami / vms

Bitnami VMs
https://bitnami.com
Other
200 stars 44 forks source link

[EJBCA] What is the proper way to upgrade EJBCA to a newer version without reinstalling the whole VM? #1553

Open david-bojnansky opened 1 month ago

david-bojnansky commented 1 month ago

Describe your issue as much as you can

I successfully installed the VM, almost everything seems to work correctly (except Add End Entity in RA category - #1552), but I do not know how to properly upgrade EJBCA to a newer version in the future because the documentation is out of date (seems like Apache was replaced by Wildfly?).

geraldine198 commented 1 month ago

Hello, @david-bojnansky

Here is the some steps which may help you.

Backup your data. Download the latest EJBCA version. Stop WildFly. Deploy the new version. Run database upgrade scripts. Update configuration files. Restart WildFly. Verify the upgrade.

I hope this info will help you. Best Regard, geraldine198 SpotifyPie

jotamartos commented 4 weeks ago

As I mentioned in your other ticket, you will need to launch a new instance and migrate your data.

https://github.com/bitnami/vms/issues/1554

You will need to check the official documentation to know what folders inside the ejbca folder you need to migrate from the old instance to the new one.

michael298f commented 2 weeks ago

Hello, To upgrade EJBCA to a newer version with Wildfly, follow these steps:

Backup your database. Copy conf/.properties from your current installation. Merge changes from .properties.sample into your *.properties. Deploy the new EJBCA application using ant deployear. If using Wildfly 24 or later, configure the PKCS12 keystore type in web.properties. Copy TLS keystores using ant deploy-keystore. Ensure you have the necessary database privileges. For detailed instructions, refer to the latest official EJBCA documentation or contact their support. Best Regards

github-actions[bot] commented 1 day ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.