Dear Richard,

Thank you, it works.

On Mon, Aug 22, 2016 at 4:00 PM, Richard Levitte via RT <r...@openssl.org>
wrote:

> The issue isn't with the pre-created key, but because '-x509' doesn't fully
> flag that something new is to be created. The freeze is because 'openssl
> req'
> tries to read a csr... '-newkey', however, does flag the creation of a csr
> /
> x509, that's why the alternative command works.
>
> Fix in https://github.com/openssl/openssl/pull/1479
>
> Cheers,
> Richard
>
> On Mon Aug 22 12:33:47 2016, beld...@gmail.com wrote:
> > Hello openssl team,
> >
> > I experience problems with openssl version OpenSSL 1.1.0-pre7-dev
> >
> > I use Debian GNU Linux, the version is 8.5
> > The kernel version is
> > Linux vr-dev 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)
> > x86_64 GNU/Linux
> >
> > I have created a private key with a command
> >
> > LD_LIBRARY_PATH=. apps/openssl genrsa -out rsa2048.pem 2048
> >
> > in the build directory.
> >
> > When I execute the command
> > OPENSSL_CONF=apps/openssl.cnf LD_LIBRARY_PATH=. apps/openssl req -x509
> -key
> > rsa2048.pem -keyform PEM -out cert.pem
> >
> > in the build directory, it seems to hang and does not print any prompt.
> >
> > The command line
> > OPENSSL_CONF=apps/openssl.cnf LD_LIBRARY_PATH=. apps/openssl req -x509
> > -newkey rsa:2048 -keyout key.pem -out req.pem -nodes
> >
> > works ok.
> >
> > What's done wrong by me?
> >
>
>
> --
> Richard Levitte
> levi...@openssl.org
>
> --
> Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4655
> Please log in as guest with password guest if prompted
>
>


-- 
SY, Dmitry Belyavsky
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to