[openssl-users] Generate ECC key with password protection
kgoldman at us.ibm.com
Thu Jan 12 22:34:24 UTC 2017
On 7/20/2016 10:26 AM, Jakob Bohm wrote:
> On 20/07/2016 16:21, Ken Goldman wrote:
>> From these web pages:
>> the "openssl ecparam -genkey" command does not accept a password. The
>> (perhaps) equivalent "openssl genrsa" command does.
>> Is there a openssl command that can generate an ECC key pair where the
>> output file is password protected?
> openssl genpkey
My latest attempt is this. It gives me a usage error. Any hints?
openssl genpkey -out cakeyecc.pem -outform pem -pass pass:rrrr
aes-256-cbc -algorithm ec pkeyopt ec_paramgen_curve:prime256v1 -text
More information about the openssl-users