Re: Create p12 from a .pem with only a private key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux