На 14,04, я выполнил “openssl genrsa –aes256 - сервер-sec.key 4096”, но только получил подсказку Использования, что случилось?

Я пытаюсь генерировать ключи сервера, но не могущий сделать так на Ubuntu 14.04, и также не могущий понять, почему она жалуется на использование. Помогите.

Заранее спасибо.

Roger

1
задан 14 October 2015 в 10:15

1 ответ

у Вас есть двойное -- перед aes256. Ваша точная линия только с синглом - работы для меня:

$ openssl genrsa -aes256 -out server-sec.key 4096

это - то, что говорит помощь команды:

$ openssl genrsa  -h
usage: genrsa [args] [numbits]
 -des            encrypt the generated key with DES in cbc mode
 -des3           encrypt the generated key with DES in ede cbc mode (168 bit key)
 -seed
                 encrypt PEM output with cbc seed
 -aes128, -aes192, -aes256
                 encrypt PEM output with cbc aes
 -camellia128, -camellia192, -camellia256
                 encrypt PEM output with cbc camellia
 -out file       output the key to 'file
 -passout arg    output file pass phrase source
 -f4             use F4 (0x10001) for the E value
 -3              use 3 for the E value
 -engine e       use engine e, possibly a hardware device.
 -rand file:file:...
                 load the file (or the files in the directory) into
                 the random number generator
1
ответ дан 7 December 2019 в 16:08

Другие вопросы по тегам:

Похожие вопросы: