I want to create two .pem files one for client and other for server, Based on my understanding client pem file will have servers public key + clients private key and server pem file will have client public key + servers private key. I have created jks file from http://yellowcat1.free.fr/keytool_iui.html
What are the steps to follow to achive required pem files and those .pem file should be password enabled.