U
U
unlik2018-09-11 15:55:27
OpenSSL
unlik, 2018-09-11 15:55:27

Private key not generated?

I drive the command openssl genrsa -des3 -out private.key 2048
In response I get Extra arguments given
What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xoo, 2018-09-11
@unlik

And try manually typing)
You could copy the command from somewhere, and there are invisible characters)
Compare the output

00000000: 6f70 656e 7373 6c20 6765 6e72 7361 20e2 openssl genrsa .
00000010: 8093 6465 7333 20e2 8093 6f75 7420 7072 ..des3 ...out pr
00000020: 6976 6174 652e 6b65 7920 3230 3438 0a vate.key 2048.
with conclusion
00000000: 6F70 656E 7373 6765 6E72 7361 202D Openssl Genrsa -
00000010: 6465 7333 202D 6F75 7420 7072 6976 6174 DES3 -Uut Privat
000020: 652E 6B65 7920 3230 3438 0A E. E. E. E.E.KYY 0A E.KEY 2048 0A E.KEY 0A e.KYY 2048 0A E.KAY 2048 0A e.Ky 0a e.KYY 2048 0A E.
In the first case, the command is simply copied from your question, in the second, it is manually typed
. In short, the "-" symbol seems to be lost

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question