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

2020-02-19 Thread Dirk-Willem van Gulik
> On 20 Feb 2020, at 08:43, Dirk-Willem van Gulik wrote: >> On 20 Feb 2020, at 08:38, Estefania wrote: >> 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 |

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

2020-02-19 Thread Dirk-Willem van Gulik
> On 20 Feb 2020, at 08:38, Estefania 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

Create p12 from a .pem with only a private key

2020-02-19 Thread Estefania
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. Thanks -- Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html

Re: Questions about using Elliptic Curve ciphers in OpenSSL

2020-02-19 Thread Nicola Tuveri
I think there might be some confusion. The "parameters" files are a legacy from when cryptosystems using "custom" domains were not widely deprecated. Such parameter files were required for any instance of key generation, to make sure that a key was generated in the defined custom domain, and were

Re: Query regarding SSL_ERROR_SSL during SSL handshake

2020-02-19 Thread Matt Caswell
On 19/02/2020 05:16, Mahendra SP wrote: > Hi All, > > We are using Openssl version 1.0.2h. When we call SSL_do_handshake, > sometimes we notice that handshake fails with error SSL_ERROR_SSL.  > As per the documentation for this error, it is non recoverable and fatal > error.  Documentation