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

Export/Import SP Configuration from ColdFusion 2021 to ColdFusion 2023

Community Beginner ,
Sep 18, 2025 Sep 18, 2025

Current application runs on ColdFusion 2021 using SAML.  We have setup up the SP and IDP configuration in CF Admin and it has been working for half a year.  Installed ColdFusion 2023 on the same server as ColdFusion 2021.  Used the CFSETUP utility to export and import the spconfiguration as a json file since that doesn't come over when you install and upgrade to ColdFusion 2023.  Verified in ColdFusion 2023 Admin that the SP information was imported and the site is now running on ColdFusion 2023.  I noticed however they keystore in CF2023 is pointing to or looking for it under CF2021 when I try to migrate my application to a new server with just CF2023 installed.

 

Am I wrong to assume that the CFSETUP utility was supposed to create the necessary files from ColdFusion 2021 to ColdFusion 2023 regarding the SAML keystore in addition to adding an entry in ColdFusion 2023?  It seems that if remove ColdFusion 2021 on the same server I installed ColdFusion 2023, then my application will fail.

 

I referenced this video from Charlie Arehart regarding using the CFSETUP utlity.

https://www.youtube.com/watch?v=S_UfNptoz4U

119
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

Community Expert , Oct 29, 2025 Oct 29, 2025

@Marcus335807545qqw, sorry that I somehow missed this from a few weeks ago. Did you resolve the problem? 

 

I would think the problem is simply that the saml config of the key store merely regards it as a path that could be pointing ANYWHERE on your server. (CF does not require it to BE WITHIN the cf folder.) 

 

As such, the cfsetup export/import merely brought the value into the new cf admin. If you want it copy or move that keystore to a new location (outside of either cf instance), you could

...
Translate
Community Expert ,
Oct 29, 2025 Oct 29, 2025

@Marcus335807545qqw, sorry that I somehow missed this from a few weeks ago. Did you resolve the problem? 

 

I would think the problem is simply that the saml config of the key store merely regards it as a path that could be pointing ANYWHERE on your server. (CF does not require it to BE WITHIN the cf folder.) 

 

As such, the cfsetup export/import merely brought the value into the new cf admin. If you want it copy or move that keystore to a new location (outside of either cf instance), you could then change BOTH instances to point to this one location. That way, when you move to cf2025 or beyond, you'd not have to worry about this then.

 

BTW, you can even configure that new path in the cf config using cfsetup: it's not JUST for export/import. And of course you could script the move of the keystore at the OS level. You'd likely need to restart cf for the change to take effect. 

 

Let us know if this helps or not. 

 

Let me know if that works. 


/Charlie (troubleshooter, carehart. org)
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 ,
Oct 30, 2025 Oct 30, 2025

Thanks for the explanation.  Eventually I copied the files from the folder in ColdFusion 2021 to a folder in ColdFusion 2023.  I'll update my notes when I do this in my other environments. 

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 Expert ,
Oct 30, 2025 Oct 30, 2025

Good to hear.

 

But you also changed the cf2023 saml config to point to that new location also, right? Just pressing since you say you're updating your notes to follow next time. And did you catch how cfsetup can also be used to make that specific alteration, if you're wanting to automate it all?

 

Finally, to help those who'd find this in the future, would you regard my first reply as suitable to being marked as an answer? You should see a button under it to do just that. 


/Charlie (troubleshooter, carehart. org)
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 ,
Oct 30, 2025 Oct 30, 2025
LATEST

Yes, I updated the folder location in CF2023 Admin also.  If we are still using CF after this upgrade, I'll defintely looking into automating this for the next upgrade.

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