The specified keystore file does not exist: 'C:\..\..\..\..\nm\trust\keystore.p12' error is returned while executing certain TIBCO Spotfire Server commands via command line on a different machine

The specified keystore file does not exist: 'C:\..\..\..\..\nm\trust\keystore.p12' error is returned while executing certain TIBCO Spotfire Server commands via command line on a different machine

book

Article ID: KB0075631

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

You may see the following error while executing delete-node command on a different machine than the TIBCO Spotfire Server machine (see  running the configuration tool on a local computer for more details):
 C:\spotfireconfigtool>.\config.bat delete-node -b bootstrap.xml -t mypassword -i 70c191dc-2773-4f95-8310-54b8338592a6
Output: The specified keystore file does not exist: 'C:\..\..\..\..\nm\trust\keystore.p12'

See the below screenshot for your reference: 
User-added image

 

Issue/Introduction

This article will help you solve the issue when you run into the error "The specified keystore file does not exist: 'C:\..\..\..\..\nm\trust\keystore.p12'" while executing certain TIBCO Spotfire Server commands via command line on a different machine

Resolution

This is the expected behavior as there are certain commands (such as delete-node, register-api-client, trust-node, untrust-node) which would require the keystore file, even when being executed on a local machine and not the TIBCO Spotfire Server machine. Some of these commands are copy-rules-to-site, create-scheduled-jobs , register-api-client, trust-node , untrust-node, delete-node, export-rules, import-rules

To resolve, copy the keystore file from the TIBCO Spotfire Server machine to the machine where you are running these commands, and execute the command again.

Additional Information

Doc: Running the configuration tool on a local computer