You are not using any valid command. Error clearly explains that command '-incommand' is not valid command, and gives you output of valid commands. Look at, http://openssl.org/docs/apps/ca.html# openssl x509 openssl ca openssl req
simple expample to get you started. >openssl genrsa -out private_key.pem 1024 >openssl req -new -x509 -key private_key.pem -out certificate.pem -Anand On Fri, Feb 26, 2010 at 4:08 AM, Chaitra <chaitra.shan...@globaledgesoft.com > wrote: > I think it should be just -key. > > Thanks & Regards > Chaitra Shankar > > > > > prasad kasthuri wrote: > >> Hi Team, >> >> I am getting the following error while creating certs using openssl >> command. Please help me to create a cert using openssl. >> >> C:\OpenSSL\bin>openssl -inkey mykeyfile.pem -in -mycertfile.pem -out >> myCert.p1 >> -export >> openssl:Error: '-inkey' is an invalid command. >> >> Standard commands >> asn1parse ca ciphers crl crl2pkcs7 >> dgst dh dhparam dsa dsaparam >> ec ecparam enc engine errstr >> gendh gendsa genrsa nseq ocsp >> passwd pkcs12 pkcs7 pkcs8 prime >> rand req rsa rsautl s_client >> s_server s_time sess_id smime speed >> spkac verify version x509 >> >> Message Digest commands (see the `dgst' command for more details) >> md2 md4 md5 rmd160 sha >> sha1 >> >> Cipher commands (see the `enc' command for more details) >> aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb aes-256-cbc >> aes-256-ecb base64 bf bf-cbc bf-cfb >> bf-ecb bf-ofb cast cast-cbc cast5-cbc >> cast5-cfb cast5-ecb cast5-ofb des des-cbc >> des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb >> des-ede-ofb des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb >> des-ofb des3 desx idea idea-cbc >> idea-cfb idea-ecb idea-ofb rc2 rc2-40-cbc >> rc2-64-cbc rc2-cbc rc2-cfb rc2-ecb rc2-ofb >> rc4 rc4-40 >> >> >> Thanks >> Prasad >> > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >