Openssl convert .PEM containing only RSA Private Key to .PKCS12 -


currently have .pem file containing private key. need convert file .pkcs12 file. i'm trying use openssl achieve , i'm running problems.

the .pem file i'm using of form:

-----begin rsa private key-----

some key

-----end rsa private key-----

i use following openssl command attempt convert .pem file .pkcs12:

openssl pkcs12 -export -inkey file.pem -out file.p12

the console hangs message:

loading 'screen' random state -done

what im doing wrong?

any appriciated.

i ran problem , resolved adding -nocerts option after export. guess regarding cause of "freeze up" openssl trying read additional input console.

openssl pkcs12 -export -nocerts -inkey your.private.key.pem -out your.private.key.p12 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -