Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> apache and SSL
Guest_mmoor_*
post May 21 2006, 06:36 AM
Post #1





Guests






Okay here what im doing.

#openssl genrsa -des3 -out server.key 1024
#openssl req -new -key server.key -out server.csr
#openssl genrsa -des3 -out ca.key 1024
#openssl req -new -x509 -days 365 -key ca.key -out ca.crt
#sign.sh server.csr
-- then i copy them to /usr/local/open/certs and /private

Everthing so far so right.

then compile mod_ssl
./configure --with-prefix=to apache --with-apache=../apache --with-ssl=path to ssl --with-mm=path to mm --with-crt=/path to certs --with-key=path to keys --enable-shared-ssl

Error: Cannot find SSL x.509 certificated file in path to certs

Anybody any idea or did this alreday or jnowing what im doing not right ?
Go to the top of the page
 
+Quote Post
Termina
post May 22 2006, 01:01 AM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



QUOTE
./configure --with-prefix=to apache --with-apache=../apache --with-ssl=path to ssl --with-mm=path to mm --with-crt=/path to certs --with-key=path to keys --enable-shared-ssl


Since you arn't giving us the paths you're using, it hard for us to help you.

Can you copy/paste the exact command you're using?

All I can reccommend is make 100% sure that the paths you're specifiying exist. Make sure you 'configure' with root, to make sure there isn't a permission problem.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Guest_mmoor_*
post May 22 2006, 04:06 AM
Post #3





Guests






loged in as root.. permissions on all the prober files is (-rw-r-r) root:root
Also tryed to chmod to 777

/usr/local/openssl/
/usr/local/openssl/certs
/usr/local/openssl/private
#openssl genrsa -des3 -out server.key 1024
#openssl req -new -key server.key -out server.csr
#openssl genrsa -des3 -out ca.key 1024
#openssl req -new -x509 -days 365 -key ca.key -out ca.crt
#sign.sh server.csr
-- then i copy them to
FROM /usr/local/openssl/ca.crt TO /usr/local/openssl/certs/ca.crt
FROM /usr/local/openssl/server.crt TO /usr/local/openssl/certs/server.crt
FROM /usr/local/openssl/ca.key TO /usr/local/openssl/private/ca.key
FROM /usr/local/openssl/server.key TO /usr/local/openssl/private/server.key

Everthing so far so right.

then compile mod_ssl
cd /etc/mod_ssl-2.8.26-1.3.35
./configure --with-apache=../apache_1.3.35 --with-ssl=/usr/lib/openssl --with-mm=/usr/lib--with-crt=/usr/local/openssl/certs --with-key=/usr/local/openssl/private --enable-shared-ssl

Error: Cannot find SSL x.509 certificated file in path to certs

Apache is in /usr/local/apache
And the install is in /etc/apache_1.3.35 thats why i used from mod (../apache_1.3.35)
Go to the top of the page
 
+Quote Post
Termina
post May 22 2006, 12:19 PM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



"--with-crt" requires the path to the file, not directory, you're using.

So if ca.crt is your crt, then:

"--with-crt=/usr/local/openssl/certs/ca.crt"

There also seems to be no space between "/usr/lib" and "--with-crt"


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Guest_mmoor_*
post May 22 2006, 03:06 PM
Post #5





Guests






bleh.. only put in the path to the file.. and not the path and file smile.gif now it works. except now apache dont start anymore.. but i guess i go take a nap now and read the mod_ssl doc smile.gif

Thanky Termina
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 06:51 AM