To start with you must export your certificate with the full intermediate chain path into a pfx file. You then run the following commands to copy the certificate and key into the java keystore.
The first command removes the existing certificate, the second one (with command output) will show the certificate alias within the pfx file. The third one will copy the key into the ahsay keystore. You will need to restart ahsay to get it to start using the new certificate and key.
C:\Program Files\AhsayOBS and AhsayRPS>.\java\bin\keytool -delete -keystore conf\keystore -storepass changeit -alias tomcat
C:\Program Files\AhsayOBS and AhsayRPS>.\java\bin\keytool -list -keystore _pfxFilename_ -storepass _pfxPassword_ -storetype PKCS12
Keystore type: PKCS12
Keystore provider: SunJSSE
Your keystore contains 1 entry
le-e07beb95-64ea-4604-8613-585df26d036d, 21/05/2013, PrivateKeyEntry,
Certificate fingerprint (MD5): FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF
C:\Program Files\AhsayOBS and AhsayRPS>.\java\bin\keytool.exe -importkeystore -srckeystore _pfxFilename_ -srcstoretype PKCS12 -srcstorepass _pfxPassword_ -destkeystore conf\keystore -deststorepass changeit -srcalias _srcKeyId_ -destalias tomcat -destkeypass changeit