HP 3PAR OS 3.1.3 CLI Administrator's Manual
Setting the TPDCERTHOSTCHECK Environment Variable on Solaris, Linux, HP-UX, and AIX
To set the TPDCERTHOSTCHECK environment variable on Solaris, Linux, HP-UX, or AIX, see the
following system output example.
$ TPDCERTHOSTCHECK=1
$ export TPDCERTHOSTCHECK
$ cli
Setting the TPDCERTHOSTCHECK Environment on Windows
To set the TPDCERTHOSTCHECK environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 47).
2. In the Environment Variable dialog box, enter TPDCERTHOSTCHECK in the Variable box.
3. Enter 1 for the certificate file in the Value box.
4. Click OK.
Using the -certhostcheck Option
To enable the host name check using the -certhostcheck global option.
$ cli -certhostcheck
Suppressing the Certificate Verification Prompt
User can suppress prompt by CLI client when the CLI server certificate is not validated by the
certificate file and the exception file. CLI client prints an error message and exits. Suppressing
prompt can be useful when CLI client is used as part of batch process such as shell script.
• The -nocertprompt global option.
• The TPDNOCERTPROMPT environment variable.
Setting the TPDNOCERTPROMPT Environment Variable on Solaris, Linux, HP-UX, and AIX
To set the TPDNOCERTPROMPT environment variable on Solaris, Linux, HP-UX, or AIX, see the
following system output example.
$ TPDNOCERTPROMPT=1
$ export TPDNOCERTPROMPT
$ cli
Setting the TPDNOCERTPROMPT Environment on Windows
To set the TPDNOCERTPROMPT environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 47).
2. In the Environment Variable dialog box, enter TPDNOCERTPROMPT in the Variable box.
3. Enter the 1 for he certificate file in the Value box.
4. Click OK.
Global Options and Environment Variables 53