idarchive command gives Unsupported or unrecognized SSL message
search cancel

idarchive command gives Unsupported or unrecognized SSL message

book

Article ID: 380276

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction

Running import archive data command gives the following error:

root@machine:/opt/CA/idash/bin # export IDASH_HOME=/opt/CA/idash
root@machine:/opt/CA/idash/bin # ./idarchive -f /app/CA/data/archive/archived_events.PRD.*
com.ca.idash.core.exception.IdashException: javax.net.ssl.SSLException:Unsupported or unrecognized SSL message
 at com.ca.idash.core.comm.StaticInvocation.postX(StaticInvocation.java:378)
 at com.ca.idash.core.comm.StaticInvocation.post(StaticInvocation.java:286)
 at com.ca.idash.core.server.IdashConfig.httpAddressOk(IdashConfig.java:154)
 at com.ca.idash.core.server.IdashConfig.getHttpAddressX(IdashConfig.java:127)
 at com.ca.idash.core.server.IdashConfig.getHttpAddress(IdashConfig.java:94)
 at com.ca.idash.core.idashdb.IdashDB.getIdashDB(IdashDB.java:272)
 at com.ca.idash.core.db.idashdb.DbConfigTool.getConfigListX(DbConfigTool.java:117)
 at com.ca.idash.core.db.idashdb.DbConfigTool.access$100(DbConfigTool.java:47)
 at com.ca.idash.core.db.idashdb.DbConfigTool$1.run(DbConfigTool.java:89)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:750)

Error: Cannot connect to specified primary server url:https://XXXX.hosts.com:port or secondary url:https://XXXX.hosts.com:port

Cause

The "Unsupported or unrecognized SSL message" indicates that the wrong protocol was used to make the connection.  It could be you're talking to an HTTP server, not an HTTPS server. or not using the correct port number for HTTPS.

 

Resolution

The SSL errors were resolved by changing the URLs in the idash.conf file to http instead of https.