[openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Richard Levitte via RT
All merged now, closing ticket.

On Mon Aug 22 13:30:02 2016, levitte wrote:
> Perfect.
>
> Fix has been merged into master, but I'll wait with closing this until
> I get a
> yay or nay about the corresponding 1.0.2 fix.
>
> Cheers,
> Richard
>
> On Mon Aug 22 13:12:58 2016, beld...@gmail.com wrote:
> > Dear Richard,
> >
> > Thank you, it works.
> >
> > On Mon, Aug 22, 2016 at 4:00 PM, Richard Levitte via RT
> > 
> > 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
> > >
> > >
>
>
> --
> Richard Levitte
> levi...@openssl.org


--
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

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Richard Levitte via RT
Perfect.

Fix has been merged into master, but I'll wait with closing this until I get a
yay or nay about the corresponding 1.0.2 fix.

Cheers,
Richard

On Mon Aug 22 13:12:58 2016, beld...@gmail.com wrote:
> Dear Richard,
>
> Thank you, it works.
>
> On Mon, Aug 22, 2016 at 4:00 PM, Richard Levitte via RT
> 
> 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
> >
> >


--
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

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Dmitry Belyavsky via RT
Dear Richard,

Thank you, it works.

On Mon, Aug 22, 2016 at 4:00 PM, Richard Levitte via RT 
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

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4655
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Dmitry Belyavsky
Dear Richard,

Thank you, it works.

On Mon, Aug 22, 2016 at 4:00 PM, Richard Levitte via RT 
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


[openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Richard Levitte via RT
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

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[openssl-dev] [openssl.org #4655] Openssl req seems not to work with precreated key

2016-08-22 Thread Dmitry Belyavsky via RT
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?

-- 
SY, Dmitry Belyavsky

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4655
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev