Skip to main content
Known Participant
April 17, 2025
Answered

ColdFusion 2021 Throws an error when attempting to edit an existing SP Configuration

  • April 17, 2025
  • 2 replies
  • 1247 views

This server is running ColdFusion 2021 Update 18. I'm attempting to edit an existing Service provider in the SP Configuration section of the Administrator. 
the page throws the following error in the Application log: 

 

"Error","http-nio-8544-exec-5","04/17/25","08:40:48","cfadmin","Variable KEYSTOREPATH is undefined. The specific sequence of files included or processed is: F:\ColdFusion2021\cfusion\wwwroot\CFIDE\administrator\security\spedit.cfm, line: 487"

and a similar error in the coldfusion-out log: 

"Error","http-nio-8544-exec-5","04/17/25","08:40:48","cfadmin","Variable KEYSTOREPATH is undefined. The specific sequence of files included or processed is: F:\ColdFusion2021\cfusion\wwwroot\CFIDE\administrator\security\spedit.cfm, line: 487"

When I orginally configured this the keystore entry was present. The configuration works, our developers are able to write code against the SP Config, but editing it is not possible. 

Correct answer BKBK

Yes.  Working with our Azure team, I had to make changes to the config several times before it worked. The next time I went in to edit, the form wouldn't render and threw the error mentioned above.


That's clear. Thanks for clarifying.

 

You could do the following test:

  1.  Save a back-up of the file /lib/neo-saml.xml (at a location outside ColdFusion).
  2.  Open the file in an editor, and enter or change the value of the element signKeystorePath. For example, on my installation, the element is defined as: 
    <var name='signKeystorePath'>
    	<string>C:\ColdFusion2025\cfusion\lib\saml\2tUUDSy2ie.p12</string>
    </var>​
  3.  Use the modified file to replace the exising file /lib/neo-saml.xml
  4.  Restart ColdFusion, then verify whether the issue has been resolved. 

2 replies

BKBK
Community Expert
Community Expert
April 17, 2025

The error message suggests that ColdFusion is missing the Keystore Path. In the ColdFusion Administrator, go to the page Security > SP Configuration. Examine the form for the Service Provider. Make sure that the field Keystore Path is filled.

Known Participant
April 17, 2025

if the form would render I would do that. The form is the problem, I can't edit the SP Config if the form itself throws an error

BKBK
Community Expert
Community Expert
April 18, 2025

Do I understand correctly that:

  1.  the configuration works even though you get the error message "Variable KEYSTOREPATH is undefined."?
  2.  the form fails to display when you click on the Edit button?



Community Manager
April 17, 2025

Hi @Scott_Stewart3951,

Thank you for reaching out. I am moving your query to the appropriate community where product experts can better assist you with this issue.

In the meantime, you may find the following resources helpful:

Please feel free to follow up if you have any additional questions.

Regards,
^AN

Known Participant
April 17, 2025

Thank you Anshul, where is it being moved to?

BKBK
Community Expert
Community Expert
April 17, 2025
quote

Thank you Anshul, where is it being moved to?


By @Scott_Stewart3951

 

To the ColdFusion forum, naturally.