C
C
chelkaz2016-06-03 22:18:30
OpenSSL
chelkaz, 2016-06-03 22:18:30

OPENSSL command not working in centos 7?

I do it according to the docks: https://www.wosign.com/english/support/CSRgen/Apac...
I enter the command # openssl genrsa –des3 –out site.ru.key 1024
And it gives me:

# openssl genrsa –des3 –out site.ru.key 1024
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)
 -idea           encrypt the generated key with IDEA in cbc mode
 -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

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alegzz, 2016-06-05
@alegzz

because you need this:
openssl genrsa –des3 –out site.ru.key 1024

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question