| 123456789101112131415161718192021222324252627282930313233343536373839404142 | @echo offrem *********************************************************************************************************************************rem * Licensed Materials - Property of IBM                                                                                          *rem *                                                                                                                               *rem * IBM Cognos Products: DLS                                                                                                      *rem *                                                                                                                               *rem * (C) Copyright IBM Corp. 2005, 2021                                                                                            *rem *                                                                                                                               *rem * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *rem *********************************************************************************************************************************rem *************** DLS SSL certificate import tool *********************rem ** This tool is designed to import a SSL certificate in IBM Cognos Java Keystorerem **rem ********************************************************************rem NOTE:rem if successful this message will be shown: Certificate was added to keystorerem if already imported keytool error: java.lang.Exception: Certificate not imported, alias <DLSKeystore> already existsCLSif [%1]==[] goto usagecd ..\ibm-jre\jre\binecho importing certificate from %1keytool -import -alias DLSKeystore -file %1 -keystore ..\lib\security\cacerts -storepass changeit -nopromptcd ..\..\..\binecho Done.goto :eof:usageecho  --------------------------------------------------------------echo Usage: %0 SSL_Certificate_PATHecho.echo e.g.echo.echo  %0 C:\mailserver_ssl_keys\certificate.crtecho  --------------------------------------------------------------exit /B 1
 |