View Single Post
  #5  
Old 22nd March 2007, 16:23
moos3 moos3 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

part 2
Code:
<=== src/modules/ssl
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `./apaci` buildmark.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `./apaci` -L/root/ispconfig/openssl/lib  -rdynamic \
              -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a   -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
make[2]: Leaving directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37/src'
make[1]: Leaving directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37'
make[1]: Entering directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37'
===> src/support
make[2]: Entering directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37/src/support'
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` htpasswd.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o htpasswd -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap htpasswd.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
htpasswd.o: In function `main':
htpasswd.c:(.text+0xe66): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` htdigest.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o htdigest -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap htdigest.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
htdigest.o: In function `main':
htdigest.c:(.text+0x572): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` rotatelogs.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o rotatelogs -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap rotatelogs.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` logresolve.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o logresolve -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap logresolve.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` ab.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o ab -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap ab.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
sed <apxs.pl >apxs \
            -e 's%@TARGET@%httpd%g' \
            -e 's%@CC@%gcc%g' \
            -e 's%@CFLAGS@% -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci`%g' \
            -e 's%@CFLAGS_SHLIB@%-fpic -DSHARED_MODULE%g' \
            -e 's%@LD_SHLIB@%gcc%g' \
            -e 's%@LDFLAGS_MOD_SHLIB@%-shared%g' \
            -e 's%@LIBS_SHLIB@%%g' && chmod a+x apxs
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` checkgid.c
gcc  -DLINUX=22 -DHAVE_SET_DUMPABLE -DMOD_SSL=208128 -DUSE_HSREGEX -DEAPI `../apaci` -o checkgid -L/root/ispconfig/openssl/lib  -L../os/unix -L../ap checkgid.o -lm -lap -los  -lm -lcrypt  -lssl -lcrypto -lexpat -ldl
make[2]: Leaving directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37/src/support'
<=== src/support
make[1]: Leaving directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37'
make[1]: Entering directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37'
+---------------------------------------------------------------------+
| Before you install the package you now should prepare the SSL       |
| certificate system by running the 'make certificate' command.       |
| For different situations the following variants are provided:       |
|                                                                     |
| % make certificate TYPE=dummy    (dummy self-signed Snake Oil cert) |
| % make certificate TYPE=test     (test cert signed by Snake Oil CA) |
| % make certificate TYPE=custom   (custom cert signed by own CA)     |
| % make certificate TYPE=existing (existing cert)                    |
|        CRT=/path/to/your.crt [KEY=/path/to/your.key]                |
|                                                                     |
| Use TYPE=dummy    when you're a  vendor package maintainer,         |
| the TYPE=test     when you're an admin but want to do tests only,   |
| the TYPE=custom   when you're an admin willing to run a real server |
| and TYPE=existing when you're an admin who upgrades a server.       |
| (The default is TYPE=test)                                          |
|                                                                     |
| Additionally add ALGO=RSA (default) or ALGO=DSA to select           |
| the signature algorithm used for the generated certificate.         |
|                                                                     |
| Use 'make certificate VIEW=1' to display the generated data.        |
|                                                                     |
| Thanks for using Apache & mod_ssl.       Ralf S. Engelschall        |
|                                          rse@engelschall.com        |
|                                          www.engelschall.com        |
+---------------------------------------------------------------------+
make[1]: Leaving directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37'
<=== src
make[1]: Entering directory `/root/Desktop/install_ispconfig/compile_aps/apache_1.3.37/src'
SSL Certificate Generation Utility (mkcert.sh)
Copyright (c) 1998-2000 Ralf S. Engelschall, All Rights Reserved.

Generating custom certificate signed by own CA [CUSTOM]
______________________________________________________________________

STEP 0: Decide the signature algorithm used for certificates
The generated X.509 certificates can contain either
RSA or DSA based ingredients. Select the one you want to use.
Signature Algorithm ((R)SA or (D)SA) [R]:
______________________________________________________________________

STEP 1: Generating RSA private key for CA (1024 bit) [ca.key]
429822 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
................++++++
...........................++++++
e is 65537 (0x10001)
______________________________________________________________________

STEP 2: Generating X.509 certificate signing request for CA [ca.csr]
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
1. Country Name             (2 letter code) [XY]:US
2. State or Province Name   (full name)     [Snake Desert]:Maine
3. Locality Name            (eg, city)      [Snake Town]:Boothbay
4. Organization Name        (eg, company)   [Snake Oil, Ltd]:MyDevbox
5. Organizational Unit Name (eg, section)   [Certificate Authority]:
6. Common Name              (eg, CA name)   [Snake Oil CA]:MydevBox CA
7. Email Address            (eg, name@FQDN) [ca@snakeoil.dom]:info@guthnur.net
8. Certificate Validity     (days)          [365]:365
______________________________________________________________________

STEP 3: Generating X.509 certificate for CA signed by itself [ca.crt]
Certificate Version (1 or 3) [3]:
Signature ok
subject=/C=US/ST=Maine/L=Boothbay/O=MyDevbox/OU=Certificate Authority/CN=MydevBox CA/emailAddress=info@guthnur.net
Getting Private key
Verify: matching certificate & key modulus
Verify: matching certificate signature
../conf/ssl.crt/ca.crt: /C=US/ST=Maine/L=Boothbay/O=MyDevbox/OU=Certificate Authority/CN=MydevBox CA/emailAddress=info@guthnur.net
error 18 at 0 depth lookup:self signed certificate
OK
Reply With Quote