I do not know if I explained well, i have a .pem with a private key inside like this. -----BEGIN PRIVATE KEY----- masdfasdfasdfasdfasdfasdfasdff asdfasdfasdfasdfasdfasdfasdfasf asdfasfasdfasdfasdfasdfasdfasdf -----END PRIVATE KEY----- and i need to convert it to .p12 do i need a certificate aswell? I have tried what you suggest: $ openssl req -x509 -subj /CN=foo -keyout /dev/null -nodes | openssl pkcs12 -out x.p12 -export -nokeys Generating a 2048 bit RSA private key ................+++ .+++ writing new private key to 'nul' ----- Subject does not start with '/'. problems making Certificate Request unable to load certificates Thanks! -- Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html