Connecting to HSM Simulator

Apr 3, 2015 at 5:23 AM
Edited Apr 10, 2015 at 7:54 AM
I am working on thales simulator on windows 7. I am trying to connect to simulator using another socket application running on same system. I am able to connect to simulator using my socket application. I'm getting message in Application Event field in simulator like Client from is connected. Now i'm trying to send command to the simulator like this: 0006303030304e43. But the simulator is not receiving anything. Do i need to do any extra configuration? Help highly appreciated.

I'm trying to generate IPEK key. When i'm trying to connect to Simulator using other method i'm getting output like this.

Application Events Box:
Request: 0000A0A009U0001XE6F4705480B1FF5F56DCFA24764B7536F30395012342468
Parsing header and code of message 0000A0A009U0001XE6F4705480B1FF5F56DCFA24764B7536F30395012342468...
Searching for implementor of A0...
Found implementor ThalesSim.Core.HostCommands.BuildIn.GenerateKey_A0, instantiating...
Calling AcceptMessage()...
Exception while processing message
System.Exception: Invalid value [0001XE6F4705480B1FF5F56DCFA24764] for field [ZMK].
   at ThalesSim.Core.Message.XML.MessageParser.Parse(Message msg, MessageFields fields,  MessageKeyValuePairs& KVPairs, String& result)
   at ThalesSim.Core.HostCommands.BuildIn.GenerateKey_A0.AcceptMessage(Message msg)
   at ThalesSim.Core.ThalesMain.WCMessageArrived(WorkerClient sender, Byte[]& b, Int32 len)
Disconnecting client.
Calling Terminate()...
Implementor to Nothing
Client disconnected.
Command Events Box:
Invalid value detected for field [ZMK].
Received [0001XE6F4705480B1FF5F56DCFA24764] but expected a hexadecimal value.
Can anyone suggest me what i'm doing wrong here?
Apr 18, 2015 at 2:57 PM

Simulator does not support DUKPT, you are sending 'A' option.

Apr 20, 2015 at 6:40 AM
ohhkk. Thanks for comment.