Previous Topic: TroubleshootingNext Topic: Security Adapter Settings


NPSEncrypt and NPSVersion Tools

This section contains the following topics:

NPSEncrypt Tool

NPSVersion Tool

NPSEncrypt Tool

Sometimes, secret values must be stored in a configuration file. For security purposes, you may want to encrypt and store the encrypted form of these secret values. To do this, use the NPSEncrypt tool.

When a setting allows encrypted values to be used, this product will decrypt it before use. If the setting is not encrypted, the value entered will be used as is.

The NPSEncrypt utility takes plain text entered on the command line, encrypts it, and prints the result on the screen. The resulting encrypted text can be cut and pasted wherever it is needed.

A product that allows an encrypted value will automatically decrypt the value when needed.

Run the NPSEncrypt utility from the directory where it exists. The default location of the utility is as follows:

<Siebel_agent_install_folder>\tools\

To encrypt a value, use the command prompt and type the NPSEncrypt command followed by a space and followed by the text to be encrypted, as shown in the following example:

C:\>npsencrypt secret
[NPSEncrypt Version 1.1 - NPSEncrypt Revision 1]
[NDSEnc-B]CKtyevyWkrF24Aj9Ly+xEQ==

In this case the encrypted form of secret is as follows:

[NDSEnc-B]CKtyevyWkrF24Aj9Ly+xEQ==

When you copy and paste, grab the entire line, including the portion beginning with [NDSEnc-].

NPSEncrypt will encrypt the same text to many different cipher-text values. Use any of the values, for example:

C:\CA\siebel\tools\>npsencrypt secret
[NPSEncrypt Version 1.1 - NPSEncrypt Revision 1]
[NDSEnc-C]iQO2KVyRN2fB4tMwjtgRYQ==
C:\CA\siebel\tools\>npsencrypt secret
[NPSEncrypt Version 1.1 - NPSEncrypt Revision 1]
[NDSEnc-C]FWhVC+MiA7aNnA87szw76g==
C:\CA\siebel\tools\>npsencrypt secret
[NPSEncrypt Version 1.1 - NPSEncrypt Revision 1]
[NDSEnc-B]PD24A2Iz6H+KeDh7j4zUIg==

NPSVersion Tool

Use the NPSVersion tool to extract version information from many CA products. To use this tool, type the NPSVersion on a command line followed by a space and the name of the executable whose version information you want, for example:

C:\> NPSVersion sessionlinkd
[NPSVersion Version 1.0 - NPSVersion Revision 1]
sessionlinkd         -   Package: NPSSessionLinker V1.3
sessionlinkd         - Component: SessionLinker daemon V1.3.2 (Jul 14 2003 20:26:16)
sessionlinkd         -  Platform: AIX
C:\>

You may use the NPSVersion tool on one platform to extract information for a product built for any other platform. The actual information displayed might differ in format and content from that shown above, but the relevant lines when discussing any issues with Support are Package and Component. Each line has a version number.

Package refers to the version of the Product.

Component refers to the actual part of the product that is enclosed within this specific file. It is not uncommon for this version number to be larger than the Package version number. This is usually due to the Component having one of more bugs repaired or minor enhancements added, which did not require the entire Package to be rebuilt or renumbered.