Understanding OpenSSL Command Line Options

I am configuring OpenSSL. I can find endless resources to tell me what the commands are to do the basic tasks. I cannot seem to find anywhere that has information on what the commands and switches really mean. For example I look at this code:

Great I have a CSR. But I would like to know what -new. -newkey, -in, -out mean. I can figure out some but I can't find a resource that defines them. I have found openssl.org and modssl.org as inadequate as every source that quotes directly from them. I can find the syntax but no explanations. Anyone have any suggestions?
openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr
sign.sh server.csr

Open in new window

KevlarmccAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
1. -out means "output to filename server.key which should be 1024 bits"
2. Create a Certificate Signing Request (CSR) with the server RSA private key and output the CSR key to server.csr
3. sight server.csr ( your certificate singning request ) using ca , thus creating a real ssl cert.

http://www.stllinux.org/meeting_notes/1999/0715/ca.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.