hi
i think u r missing CN name while creating .keystorw files.
while u generate .keysotre files it will ask u to enter ur First Name and Last Name. here u have to provide localhost or fully qualified network name of ur node or ur ip address. it will work for u.
hope this will help u out.
Regards
Dharam