Bug 49421 - openssl won't let you create certificate without a password
Summary: openssl won't let you create certificate without a password
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: openssl
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-19 13:40 UTC by Jonathan Kamens
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-07-19 13:40:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2001-07-19 13:40:21 UTC
/usr/bin/openssl won't let you create a certificate without a password (at
least not as far as I can tell).  That means that you can't create a test
certificate to install on your Web server which will allow the Web server
to come up with SSL enabled without stopping at boot time to prompt for a
password.  This is bad.

Comment 1 Nalin Dahyabhai 2001-08-08 19:33:25 UTC
The default mode for the openssl "genrsa" command does not encrypt the key.
To prevent encryption when generating a key while generating a certificate using 
the "req" command, use the "-nodes" flag:
openssl req -new -newkey rsa:1024 -nodes -keyout /tmp/server.key -x509 -out
/tmp/server.crt -days 365


Note You need to log in before you can comment on or make changes to this bug.