Author Topic: Connecting to T-Server using SSL Certificates  (Read 3460 times)

Offline cdavid

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Connecting to T-Server using SSL Certificates
« on: August 12, 2015, 07:35:14 PM »
I am trying to connect to the T-Server thru AIL toolkit. Basic code uses new Connector(). Then connector.init(ApplicationParameters). This works fine when connecting to a unsecure port. The issue is for a secure port. The secure port is defined thru the Configuration Manager. The certificates are installed on the T-server. The CA certificate is added to the java keystore(cacerts) on the workstation from where we are trying to connect to the T-Server. I am getting the following error:
java.lang.SecurityException: Could not create key manager based on TLS parameters
Caused by: java.security.GeneralSecurityException: Could not find certificate matching thumbprint: XX XX.....

Is cacerts the right location to add the CA certificate? Anything else needs to be done?