Re: can´t configure mod_ssl

2002-11-22 Thread Julio César Mejia Vergara
Que tal Gilberto,

Hay te va.

Saludos
Julio Mejia
TELNOR
Tijuana-Baja California-México.

DESCRIPCION: Pasos para instalar Apache 1.3.19 con ModSSL 2.8.1 para 
Apache 1.3.19.

Paso 1: Tener previamente instalado el compilador de C (GNUgcc 2.95.2) 
, 
y la utileria make (GNUmake 2.78.1) 
 
de GNU, además Perl 5.6.0 
, 
el JDK 1.3 
,  
OpenSSL 0.9.6 
 
(puedes buscar la versión más nueva de ModSSL enwww.modssl.org 
) y las bibliotecas de memoria virtual MM 1.1.3. 


Paso 2: Crear el directorio temporal en donde se va a colocar el 
software a instalar de modssl y apache.

#mkdir /trayectoria/temp

Paso 3: Copiar el software a instalar a los directorios temporales creados.

#cp mod_ssl-2.8.1-1.3.19.tar /trayectoria/temp
#cp apache_1.3.19.tar /trayectoria/temp

Paso 4: Desempaquetar el software de instalación de ModSSL y Apache.

#cd /trayectoria/temp
#tar -xvf mod_ssl-2.8.1-1.3.19.tar
#cd /trayectoria/temp
#tar -xvf apache_1.3.19.tar

Paso 5: Crear el directorio en donde se va a instalar el Apache.

#cd /usr/local
#mkdir apache

Paso 6: Introducir las siguientes variables de ambiente en el archivo 
.profile bajo root "/", si el archivo no existe crearlo

# vi .profile
#
# @(#)local.profile 1.6 98/02/06 SMI
#
stty istrip
PATH=.:/usr/local/bin:/usr/java/bin:/bin:/usr/ccs/bin:/usr/local/ssl/bin:/usr/local/apache/bin:$PATH
LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH
MANPATH=/usr/local/man:/usr/man:$MANPATH
CLASSPATH=/opt/JSDK2.0/lib/jsdk.jar
JAVA_HOME=/usr/java
export PATH  LD_LIBRARY_PATH MANPATH CLASSPATH JAVA_HOME

#
# If possible, start the windows system
#
if [ "`tty`" = "/dev/console" ] ; then
   if [ "$TERM" = "sun" -o "$TERM" = "AT386" ] ; then

   if [ ${OPENWINHOME:-""} = "" ] ; then
   OPENWINHOME=/usr/openwin
   export OPENWINHOME
   fi

   echo ""
   echo "Starting OpenWindows in 5 seconds (type Control-C 
to interrupt)"
   sleep 5
   echo ""
   $OPENWINHOME/bin/openwin

   clear # get rid of annoying cursor rectangle
   exit # logout after leaving windows system

   fi
fi

Paso 7: El archivo de configuración de modssl va a instalar el modulo de 
SSL en Apache y lo va a instalar, por lo consecuente ejecutar el 
siguiente comando de instalación desde modssl.

#cd /trayectoria/temp/mod_ssl-2.8.1-1.3.19
#./configure --with-apache=../apache_1.3.19 --with-ssl=../opensll-0.9.6 
--with-mm=../mm-1.1.3 --prefix=/usr/local/apache --enable-module=ssl 
--enable-module=so --enable-shared=max --enable-rule=SHARED_CORE 
--enable-rule=EAPI
#cd /trayectoria/temp/apache_1.3.19
#make
#make certificate TYPE=test
Signature Algorithm ((R)SA or (D)SA) [R]: R
Country Name (2 letter code): MX
State or Province Name (full name): Baja California
Locality Name (eg, City): Tijuana
Organization Name (eg, company): Telefonos del Noroeste S.A. de C.V.
Organizational Unit Name (eg, section): Sistemas
Common Name (eg, FQDN): nombre_maquina.telnor.com
Email Address (eg, name@FQDN ): [EMAIL PROTECTED] 

Certificate Validity (days): 365
Certificate Version (1 or 3): 3
Encrrypt the private key now? [Y/n]: Y
Enter PEM pass phrase: 
Verifying password - Enter PEM pass phrase: 
#make install
#

Paso 8: Editar el archivo de configuración del apache y levanta el 
servidor con ssl.

#cd  /usr/local/apache/conf
#vi httpd.conf
configura archivo!!
#cd ../bin
#apachectl startssl
pass phrase: 
apache started.
#

Para parar el apache utiliza:

#apachectl stop
#



Gilberto Garcia Jr. wrote:

Hey guys,
 
Can someone explain me how configure mod_ssl on apchache web server? I 
have installed apache with mod_ssl on a red hat 7.3
 
thanks
 



__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: can´t configure mod_ssl

2002-11-22 Thread Boyle Owen
You have to describe clearly what you did.
- Post the extract of httpd.conf which defines your SSL virtual host
- cut'n'paste the command you are using to start apache in SSL
- post the *exact* error you receive 
- post any messages which appear in the ssl_engine_log and/or error_log

Then we might be able to help.

-Original Message-
From: Gilberto Garcia Jr. [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 22. November 2002 15:43
To: mod ssl
Subject: can´t configure mod_ssl


Yes, i´ve tried.

I followed a lot of tutorials. i create one certificade at all.

But weh i tried $curl https://127.0.0.1/ i got an error.

and in most of tutorials i saw httpsd start command, and httpdctl
startssl command. but i didint find both of executables om my server.

thanks

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]



RE: can´t configure mod_ssl

2002-11-22 Thread Boyle Owen
Have you tried?

Post your attempted config directives and describe what happened or went
wrong and I'm sure someone will respond.

-Original Message-
From: Gilberto Garcia Jr. [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 22. November 2002 13:12
To: mod ssl
Subject: can´t configure mod_ssl


Hey guys,

Can someone explain me how configure mod_ssl on apchache web server? I
have installed apache with mod_ssl on a red hat 7.3

thanks

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]