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

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

 




> On 20 Feb 2020, at 08:38, Estefania <stefy83@xxxxxxxxx> wrote:
> 
> Hi guys.
> 
> I would like to ask if it is possible to create a p12 just with a .pem with
> private key but not certificate.

Try

	openssl req -x509 -subj /CN=foo -keyout /dev/null -nodes | openssl pkcs12 -out sample.p12 -export -certs

to make one containing just one cert without a private key.

Dw.



[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