This might not be the only way to do it, and I'm sure others will jump in too, but one way to do it would be to combine the <private-file>.key and <public-file>.crt into a PKCS#12 file and then runmqakm can import that.
openssl pkcs12 -export -out myCert.p12 -inkey <private-file>.key -in <public-file>.crt
This command will then prompt you for a password to lock up the PKCS#12 file. It is this password that is mentioned in the next command or you can omit it (hence the [ ] below) and it will prompt you for that too.
runmqakm -cert -import -file myCert.p12 [-pw <pkcs-password>] -type pkcs12 -target <db-name>.kdb -target_stashed
Hope that helps!
Cheers,
Morag
------------------------------
Morag Hughson
MQ Technical Education Specialist
MQGem Software Limited
Website:
https://www.mqgem.com------------------------------