Problem with Apache 2 and OpenSSL

Problem with Apache 2 and OpenSSL

am 17.08.2003 18:15:51 von nico

This is a multi-part message in MIME format.

------=_NextPart_000_01DB_01C364EB.97862930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello

So I start with Linux/Apache and openssl and I can't get running Apache =
2 and Openssl.

That's an extract of my httpd.conf

Listen 80



=20
DocumentRoot "/usr/local/apache/htdocs"
ServerName www.test.com
ServerAdmin test
ErrorLog /usr/local/apache/logs/error_log
TransferLog /usr/local/apache/logs/access_log
=20
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/ssl.crt/www.test.com.cert
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/www.test.com.key



When I try to connect with my brownser on http://www.test.com =3D> it's =
OK
but with https://www.test.com =3D> My brownser return me :"Unkown socket =
type"

If I try to connect me with shell to openssl it works.

I start apache with

/usr/local/apache/bin/apachectl startssl

=3D> openssl prompt me for the pass

I give him the pass all is OK apache start http work but https doens't =
work
at all

Thanks for your help

------=_NextPart_000_01DB_01C364EB.97862930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




Hello

 

So I start with Linux/Apache and =
openssl and I=20
can't get running Apache 2 and Openssl.

 

That's an extract of my =
httpd.conf

 

Listen 80

 

<IfDefine SSL>
<VirtualHost =
href=3D"http://www.test.com:443">www.test.com:443>
 
Do=
cumentRoot=20
"/usr/local/apache/htdocs"
ServerName href=3D"http://www.test.com">www.test.com
ServerAdmin =
test
ErrorLog=20
/usr/local/apache/logs/error_log
TransferLog=20
/usr/local/apache/logs/access_log
 
SSLEngine=20
on
SSLCertificateFile=20
/usr/local/apache/conf/ssl.crt/www.test.com.cert
SSLCertificateKeyFile=
=20
/usr/local/apache/conf/ssl.key/www.test.com.key
</VirtualHost> R></IfDefine>

 

When I try to connect with my brownser =
on href=3D"http://www.test.com">http://www.test.com =3D> it's =
OK

but with href=3D"https://www.test.com">https://www.test.com =3D> My =
brownser return me=20
:"Unkown socket type"

 

If I try to connect me with shell to =
openssl it=20
works.

 

I  start apache with

/usr/local/apache/bin/apachectl=20
startssl

=3D> openssl prompt me for the pass

I give him =
the pass=20
all is OK apache start http work but https doens't work
at all

 

Thanks for your =
help



------=_NextPart_000_01DB_01C364EB.97862930--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Problem with Apache 2 and OpenSSL

am 18.08.2003 02:40:24 von Randy Katz

Add
Listen 443

On Sunday 17 August 2003 9:15 am, nico wrote:
> Hello
>
> So I start with Linux/Apache and openssl and I can't get running Apache=
2
> and Openssl.
>
> That's an extract of my httpd.conf
>
> Listen 80
>
>
>
>
> DocumentRoot "/usr/local/apache/htdocs"
> ServerName www.test.com
> ServerAdmin test
> ErrorLog /usr/local/apache/logs/error_log
> TransferLog /usr/local/apache/logs/access_log
>
> SSLEngine on
> SSLCertificateFile /usr/local/apache/conf/ssl.crt/www.test.com.cert
> SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/www.test.com.key
>

>

>
> When I try to connect with my brownser on http://www.test.com =3D> it's=
OK
> but with https://www.test.com =3D> My brownser return me :"Unkown socke=
t
> type"
>
> If I try to connect me with shell to openssl it works.
>
> I start apache with
>
> /usr/local/apache/bin/apachectl startssl
>
> =3D> openssl prompt me for the pass
>
> I give him the pass all is OK apache start http work but https doens't =
work
> at all
>
> Thanks for your help

--=20
---
Take care,
Randy Katz
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org