how to generate use private keys using the openssl