NAME

openssl-ecparam, ecparam - EC parameter manipulation and generation

SYNOPSIS

openssl ecparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename] [-noout] [-text] [-C] [-check] [-name arg] [-list_curves] [-conv_form arg] [-param_enc arg] [-no_seed] [-rand file...] [-writerand file] [-genkey] [-engine id]

DESCRIPTION

This command is used to manipulate or generate EC parameter files.

OPTIONS

NOTES

PEM format EC parameters use the header and footer lines:

-----BEGIN EC PARAMETERS----- -----END EC PARAMETERS-----

OpenSSL is currently not able to generate new groups and therefore ecparam can only create EC parameters from known (named) curves.

EXAMPLES

To create EC parameters with the group 'prime192v1':

openssl ecparam -out ec_param.pem -name prime192v1

To create EC parameters with explicit parameters:

openssl ecparam -out ec_param.pem -name prime192v1 -param_enc explicit

To validate given EC parameters:

openssl ecparam -in ec_param.pem -check

To create EC parameters and a private key:

openssl ecparam -out ec_key.pem -name prime192v1 -genkey

To change the point encoding to 'compressed':

openssl ecparam -in ec_in.pem -out ec_out.pem -conv_form compressed

To print out the EC parameters to standard output:

openssl ecparam -in ec_param.pem -noout -text

SEE ALSO

ec (1), dsaparam (1)

COPYRIGHT

Copyright 2003-2018 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the License). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.