Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to best export java cecerts from CF2021 system to CF2023

Community Beginner ,
Aug 21, 2025 Aug 21, 2025

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

143
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Aug 21, 2025 Aug 21, 2025

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

 

 

Translate
Adobe Employee ,
Aug 21, 2025 Aug 21, 2025

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

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 21, 2025 Aug 21, 2025

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 21, 2025 Aug 21, 2025
LATEST

Hello Dejan,

 

It will import all the contents from the existing cacerts to the destination cacerts 

 

Thanks & Regards

Ravi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources