Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-17-2008, 06:54 AM
|
#1
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Rep:
|
Creating SSL sertificate request in RHEL 5
Hello all.
A few day ago I made a SSL certificate request on my RHEL 5 server, using the /etc/pki/tls/certs/Makefile script that ships with the distribution. The command I used for making the request was "make certreq".
Due to a typo I tried to rerun the script, but know I'm asked to create a passphrase. Anyone knows why I'm asked to create a passphrase now, and why I wasn't asked to do so the first time? What is this passphrase protecting anyways?
Regards,
kenneho
|
|
|
09-18-2008, 02:28 AM
|
#2
|
Member
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806
Rep:
|
The passphrase is used to protect your private key.
|
|
|
09-18-2008, 06:03 AM
|
#3
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Original Poster
Rep:
|
Quote:
Originally Posted by datopdog
The passphrase is used to protect your private key.
|
When I ran through the script the first time to generate the keys I was was prompted to create a password for the private key.
But why would I be prompted now when I try to generate a new pair of keys, when the keys are not ever created. Seems like it's asking me to create a password for the old key.
|
|
|
09-18-2008, 06:10 AM
|
#4
|
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
|
Quote:
Originally Posted by kenneho
When I ran through the script the first time to generate the keys I was was prompted to create a password for the private key.
But why would I be prompted now when I try to generate a new pair of keys, when the keys are not ever created. Seems like it's asking me to create a password for the old key.
|
Just press enter without typing a password ? That is if you don't want to create one
|
|
|
09-18-2008, 06:24 AM
|
#5
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Original Poster
Rep:
|
Quote:
Originally Posted by linuxgurusa
Just press enter without typing a password ? That is if you don't want to create one
|
Tried that - it didn't work. :/
Just don't understand why I _must_ create a password, and which key it's supposed to guard.
|
|
|
09-18-2008, 06:27 AM
|
#6
|
Member
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151
Rep:
|
Quote:
Originally Posted by kenneho
Tried that - it didn't work. :/
Just don't understand why I _must_ create a password, and which key it's supposed to guard.
|
Are you creating a key for a SSl website you are going to use ?
I use openssl to do keys and stuff for me
openssl genrsa -out keyname.key 1024
|
|
|
09-18-2008, 06:58 AM
|
#7
|
Member
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657
Original Poster
Rep:
|
Quote:
Originally Posted by linuxgurusa
Are you creating a key for a SSl website you are going to use ?
I use openssl to do keys and stuff for me
openssl genrsa -out keyname.key 1024
|
Yes I am. But the scripts shipped with RHEL user openssl to generate the keys, and I'm sure I can get the script to work without having to resort to manual prosedures. But if everything else fails I'll try your approach. 
|
|
|
All times are GMT -5. The time now is 12:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|