File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
bin/commands/validate/zosmf Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,14 @@ export function execute(quitOnError?: boolean): number {
7272 truststoreLocation = truststoreLocation . replace ( 'safkeyring' , 'safkeyringjcehybrid' ) ;
7373 }
7474
75+ let argsString : string = '' ;
7576 if ( ! useTls ) {
7677 //TODO we cannot check AT-TLS with certificate-analyser at this time, so we skip zosmf check and do certificate-only check...
77- let argsString = `-Djava.protocol.handler.pkgs=com.ibm.crypto.provider -jar ${ ZOWE_CONFIG . zowe . runtimeDirectory } /bin/utils/certificate-analyser.jar ` +
78+ argsString = `-Djava.protocol.handler.pkgs=com.ibm.crypto.provider -jar ${ ZOWE_CONFIG . zowe . runtimeDirectory } /bin/utils/certificate-analyser.jar ` +
7879 `-k ${ keystoreLocation } -kt ${ keystoreType } -kp ${ keystorePass } ` +
7980 `-a ${ keystoreAlias } -t ${ truststoreLocation } -tt ${ truststoreType } -tp ${ truststorePass } ` ;
8081 } else {
81- let argsString = `-Djava.protocol.handler.pkgs=com.ibm.crypto.provider -jar ${ ZOWE_CONFIG . zowe . runtimeDirectory } /bin/utils/certificate-analyser.jar ` +
82+ argsString = `-Djava.protocol.handler.pkgs=com.ibm.crypto.provider -jar ${ ZOWE_CONFIG . zowe . runtimeDirectory } /bin/utils/certificate-analyser.jar ` +
8283 `-r https://${ hostname } :${ ZOWE_CONFIG . zOSMF . port } /zosmf/info -k ${ keystoreLocation } -kt ${ keystoreType } -kp ${ keystorePass } ` +
8384 `-a ${ keystoreAlias } -t ${ truststoreLocation } -tt ${ truststoreType } -tp ${ truststorePass } ` ;
8485 }
You can’t perform that action at this time.
0 commit comments