Help - Search - Members - Calendar
Full Version: apache and SSL
Linuxhelp > Support > Technical Support
mmoor
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 ?
Termina
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.
mmoor
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)
Termina
"--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"
mmoor
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.