Bjoern Buettner wrote:
> 
> We have one HTTPS webserver and we have one HTTP webserver.
> Both servers hold a site with a "send SMS" formular.
> If SSL is enabled, only the HTTPS webserver will send the SMS correctly
> via SSL tunnel, and the smsbox receives it and sends the message to the
> recipient successful. Thats ok, the other HTTP webserver sends the SMS to
> the smsbox too, but the smsbox did not treat the request.
> Over again the error message...
> 
> 2002-01-25 09:54:41 [2] ERROR: HTTP: unsuccessfull SSL handshake for client
> `195.233.210.4'
> 2002-01-25 09:55:41 [2] WARNING: SSL: handshake failed: HTTP spoken on HTTPS
> port
> 2002-01-25 09:55:41 [2] WARNING: SSL: OpenSSL: error:1407609C:SSL
> routines:SSL23_GET_CLIENT_HELLO:http request
> 2002-01-25 09:55:41 [2] WARNING: SSL: disconnecting.
> 
> Sure, the warning is correct, because it is a HTTP request.
> 
> Is it not really possible to configure kannel to handle request from
> HTTP and HTTPS servers (client's)?

you are trying to connect to the SSL-enabled sendsms HTTP interface of
smsbox, right?!

So you have to use a SSL-enabled HTTP client to do this. The log
states that a HTTP client tried to connect to the SSL-enabled port
without initiating the SSL handshake, i.e. you use the scheme
"http://localhost:13013/sendsms...."; on the SSL-enabled port 13013.

I'm guessing that you take the message via your a) HTTPS server and b)
HTTP server and then do internal logic in them, i.e. PHP or ASP and
issue a HTTP client request to the smsbox, right? If you configured to
use a SSL-enabled sendsms interface, then the internal logic has to
connect via SSL. In a CGI environment you use a SSL-enabled curl or
their should be SSL-enabled HTTP classes for Java.

There is no misbehaviour in Kannel regarding this. 

If you configure to have a SSL-enabled HTTP interface for smsbox you
do have to garantee that the client are capable of connecting to such
one.


Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to