Error after enabling PreAuthSecuredSession in PSMP Vault.ini.
Symptom
SYMPTOM:- Error after enabling PreAuthSecuredSession in PSMP Vault.ini.
PSMPAP100E Failed to connect the PSM SSH Proxy to the Vault (Error: ITACM072E Vault certificate verification failed. (Reason: Unable to get local issuer certificate, Code: 20), Diagnostic Info: 1)
PROBLEM: -
PREAUTHSECUREDSESSION= is not relevant or supported for PSMP.
PSMP end users authenticating with LDAP / RADIUS / whatever, via the PSMP GW user session, so this configuration isn't relevant
Explanation of PREAUTHSECUREDSESSION= and dependant configuration parameters TRUSTSSC=, ALLOWSSCFOR3PARTYAUTH=.
1. PreAuthSecuredSession (default: NO)
This parameter determines if on a *regular Logon* (not relevant to fully impersonated users or users logged in through a GW like PSMP end users) the client will perform pre-authentication. What is pre-authentication? It's a process in which the client validates the server certificate before logging in, and in case that the logging in user is doing RADIUS or LDAP authentication, this MUST be set to YES for the authentication to work because the client will use the certificate's public key to encrypt the logon traffic (for example the RADIUS password of the end user). Only if this parameter is YES the two other parameters have any meaning, otherwise there's no meaning to setting them to "YES".
2. TRUSTSSC (default: NO)
If PreAuthSecuredSession=YES and this parameter is also set to YES it means that the client will accept self-signed certificates *only if the authentication type is NOT RADIUS!*, which are by default rejected. Meaning that the default behavior is to validate the Vault certificate against the default local CA store which means that it must be signed by a trusted CA. Note that if the received certificate is not self-signed it will still be validated - but if the signing CA cannot be found by the client when validating then the certificate will be treated as if it's self-signed and the login will continue as usual - any other failure in the validation (for example the CA certificate may have expired) will still cause a failure in the login and this parameter will not affect it. Also note that by default the Vault is installed with a self-signed certificate. It's the responsibility of the Vault admin to install a CA signed certificate and distribute the appropriate CA certificate to the clients (PSMP in this case) if he wants to set this parameter to NO
3. ALLOWSSCFOR3PARTYAUTH (default: NO)
This parameter has a very misleading name because it only affects RADIUS authentication. It can only be set to YES if TRUSTSSC is also YES. The meaning of the parameter is that self-signed certificates are also accepted when performing RADIUS authentication - if TRUSTSSC is set to YES but this parameter is set to NO, the login will still fail if RADIUS authentication is used and a self-signed certificate is returned from the Vault. Again it's important to emphasize that it's relevant only to regular Logons, not impersonations through a GW.
SOLUTION: -
All 3 parameters should be set to no, since PSMP App and GW users connect using Idira authentication.
Environment
9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9 Component: PSMP Functional Area: Configuration
Resolution
Explaination of why PREAUTHSECUREDSESSION= should not be enabled on PSMP