LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-06-2006, 08:28 PM   #31
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168

That's the right command - did you create the cert from the stripped key? I'm just copy/pasting out of the script I have for this, since I forget every year what the commands are
Code:
echo "Generating key with passphrase - passphrase is removed later"
/usr/bin/openssl genrsa -des3 -out server 1024

echo "Removing passphrase"
/usr/bin/openssl rsa -in server -out server.key

echo "Remove temp file and set permissions"
/usr/bin/rm -f server
/usr/bin/chmod 0400 server.key

echo "Create the cert"
/usr/bin/openssl req -new -key server.key -x509 -days 365 -out server.crt
/usr/bin/chmod 0400 server.crt
I hope that helps...
 
Old 02-06-2006, 09:10 PM   #32
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
what dir do i have to be in when i execute this?
 
Old 02-06-2006, 09:21 PM   #33
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Oops, sorry - I generate them in the ssl.key dir and move the cert out afterwards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 03:44 AM
modssl for apache 2? berrance Linux - Software 2 04-18-2005 08:15 AM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 06:07 AM
Trouble installing Apache, Openssl, Modssl, php4, imap, and aeromail. Abs2004 Linux - Software 3 11-01-2004 12:26 PM
Problem with Apache 1.3 & ModSSL robeb Linux - Software 1 12-30-2002 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration