TM1Web 10.2.2 FP4 using SSL with default installed cert
Posted: Mon Mar 21, 2016 9:19 am
Has anyone managed to setup TM1Web 10.2.2 (FP4) with SSL using default installed cert.
IBM has a short article on how to enable TM1Web with SSL with external certs but there isn't much discussion on using the default installed certs.
I did a java keystore check and confirm the default certs are installed.
I presume it is just a simple change using Cognos Configuration to change all references of http://server:9510 to https://server:9514 (assume 9514 is the SSL port).
However when I try to start the application server, it failed to start with the following error. The first few lines of error on existing alias should not be the cause.
Reverting back to non-SSL and the application server can be started without any problem. I suspect there are some additional steps relating to pmpsvc but can't find any document on it.
Any suggestion ?
[Start]
[ ERROR ] Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
BINARY_PATH_NAME : "C:\Program Files\ibm\cognos\tm1_64\tomcat\bin\tomcat6.exe" //RS//pmpsvc
The service "pmpsvc" is registered
errorlevel 0 exit 0
Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
keytool error: java.lang.Exception: Certificate not imported, alias <applixca> already exists
java.lang.Exception: Certificate not imported, alias <applixca> already exists
at sun.security.tools.KeyTool.addTrustedCert(KeyTool.java:2616)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1009)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
keytool error: java.lang.Exception: Certificate not imported, alias <tm1ca_v2> already exists
java.lang.Exception: Certificate not imported, alias <tm1ca_v2> already exists
at sun.security.tools.KeyTool.addTrustedCert(KeyTool.java:2616)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1009)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
Updating the service "pmpsvc" ...
errorlevel before exit script 6
Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
Clearing caches ...
Starting the service "pmpsvc" ...
The IBM Cognos TM1 Application Server service is starting.
errorlevel 1 exit 1
The IBM Cognos TM1 Application Server service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
IBM has a short article on how to enable TM1Web with SSL with external certs but there isn't much discussion on using the default installed certs.
I did a java keystore check and confirm the default certs are installed.
I presume it is just a simple change using Cognos Configuration to change all references of http://server:9510 to https://server:9514 (assume 9514 is the SSL port).
However when I try to start the application server, it failed to start with the following error. The first few lines of error on existing alias should not be the cause.
Reverting back to non-SSL and the application server can be started without any problem. I suspect there are some additional steps relating to pmpsvc but can't find any document on it.
Any suggestion ?
[Start]
[ ERROR ] Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
BINARY_PATH_NAME : "C:\Program Files\ibm\cognos\tm1_64\tomcat\bin\tomcat6.exe" //RS//pmpsvc
The service "pmpsvc" is registered
errorlevel 0 exit 0
Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
keytool error: java.lang.Exception: Certificate not imported, alias <applixca> already exists
java.lang.Exception: Certificate not imported, alias <applixca> already exists
at sun.security.tools.KeyTool.addTrustedCert(KeyTool.java:2616)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1009)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
keytool error: java.lang.Exception: Certificate not imported, alias <tm1ca_v2> already exists
java.lang.Exception: Certificate not imported, alias <tm1ca_v2> already exists
at sun.security.tools.KeyTool.addTrustedCert(KeyTool.java:2616)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:1009)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)
Updating the service "pmpsvc" ...
errorlevel before exit script 6
Using JVM: C:\Program Files\Java\jdk1.7.0_79\jre\bin\server\jvm.dll
Clearing caches ...
Starting the service "pmpsvc" ...
The IBM Cognos TM1 Application Server service is starting.
errorlevel 1 exit 1
The IBM Cognos TM1 Application Server service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.