Copy link to clipboard
Copied
Hello,
We are migrating Coldfusion from Centos 7.8 [CF2021] to Ubuntu 22.24 [CF2023].
I was wondering what are the best methods to export $CF_2021_DIR/jre/lib/security/cacerts and import them to the new server?
Is it the via scripts or can just cacerts file be copied over?
What is the recommeded way if any?
Thanks
Dejan
Hello Dejan,
Please run the command below for exporting the contents of cacerts from one Java to another Java, make sure you take a valid backup of cacerts before you make any changes
keytool.exe -importkeystore -srckeystore C:\Program Files\Java\jdk-11\lib\security\cacerts -destkeystore C:\ColdFusion2023\jre\lib\security\cacerts -srcstorepass changeit -deststorepass changeit -v -noprompt
Thanks & Regards
Ravi
Copy link to clipboard
Copied
Hello Dejan,
Please run the command below for exporting the contents of cacerts from one Java to another Java, make sure you take a valid backup of cacerts before you make any changes
keytool.exe -importkeystore -srckeystore C:\Program Files\Java\jdk-11\lib\security\cacerts -destkeystore C:\ColdFusion2023\jre\lib\security\cacerts -srcstorepass changeit -deststorepass changeit -v -noprompt
Thanks & Regards
Ravi
Copy link to clipboard
Copied
Hi Ravi, thank you so much.
Just a follow up question.
Will this command merge and carry over outdated root certificates that might be in the old store?
Copy link to clipboard
Copied
Hello Dejan,
It will import all the contents from the existing cacerts to the destination cacerts
Thanks & Regards
Ravi
Find more inspiration, events, and resources on the new Adobe Community
Explore Now