[Webinar] Streamline your web hosting managementRegister Today


Understanding OpenSSL Command Line Options

Posted on 2008-01-29
Medium Priority
Last Modified: 2013-12-16
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

Question by:Kevlarmcc
1 Comment
LVL 10

Accepted Solution

Pétur Ingi Egilsson earned 1500 total points
ID: 20770521
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.


Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

640 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question