मैं OpenSSL के लिए आदेशों का पालन किया है निजी और सार्वजनिक कुंजी उत्पन्न करने के लिए:उत्पन्न निजी और सार्वजनिक कुंजी OpenSSL
openssl genrsa –aes-128-cbc –out priv.pem –passout pass:[privateKeyPass] 2048
और
openssl req –x509 –new –key priv.pem –passin pass:[privateKeyPass] -days 3650 –out cert.cer
लेकिन प्रथम आदेश मैं पाने के लिए काम नहीं कर रहे निम्नलिखित त्रुटि:
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
मैं क्या गलत कर रहा हूं?
संपादित करें:
openssl genrsa -aes128 -out privkey.pem 2048
अब मैं secound के साथ एक त्रुटि मिल रही है:
unknown option –x509
मुझे आश्चर्य है कि पैरामीटर का क्रम मायने रखता है? –