[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Re: ECDSA curves and certificates in 1.0.2X vs 1.1.x
From:       Michael Richardson <mcr () sandelman ! ca>
Date:       2019-06-27 22:00:43
Message-ID: 10392.1561672843 () localhost
[Download RAW message or body]


Viktor Dukhovni <openssl-users@dukhovni.org> wrote:
    > On Tue, Jun 25, 2019 at 10:38:50AM -0400, Michael Richardson wrote:

    >> openssl req -new -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 \
    >> -nodes -subj "/CN=${ULA_HOSTNAME}" \
    >> -keyout ${KEY_NAME}.key -out ${KEY_NAME}.csr -outform DER \
    >> -reqexts SAN \
    >> -config /tmp/shg.ossl.cnf

    > This generates a key that has explicit parameters (rather than a named
    > curve) also in OpenSSL 1.0.2h, for example.  Since you probably want
    > to use named curves, with 1.0.2 you'll have to generate the key separately,
    > and explicitly indicate that you want a named curve key.  For that also
    > include an additional:

    > -pkeyopt ec_param_enc:named_curve

    > option.  This was not on by default in OpenSSL 1.0.2.

Thank you again, this worked great.
(I wonder if we had that before, and it just got lost as we rebuild from source)

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic