Hello everybody,
yesterday i've configured SSL for the SMS Box. It's running very fine with a
Self-Signed Certificate, but we don't have only HTTPS Webserver....:-)
Because, now it isn't possible to receive a normal HTTP request, it is only
possible to receive a HTTPS request. Any idea ??
Is it possible to configure
both HTTP/HTTPS in kannel, i found nothing in the latest CVS Documentation?
I'm a little stupid guy perhaps :-)))
enclosed the my complete Config & Debug
Thanks for your help.
####
kannel config file
####
#
This is the core section.
group = core
admin-port = xxxxxx
smsbox-port
= 13001
admin-password = xxxxxx
log-file = "/var/log/sms.log"
log-level
= 0
unified-prefix = "00"
store-file =
"/var/spool/kannel/smsstore.file"
log-file =
"/var/log/kannel.log"
log-level = 0
#box-deny-ip =
"*.*.*.*"
box-allow-ip = "195.233.xxxxxx; 145.253.xxxxxx; 195.233.xxxxxx;
145.253.xxxxxx; 195.233.xxxxxx"
#box-allow-ip = "*.*.*.*"
admin-deny-ip =
"*.*.*.*"
#admin-allow-ip = "195.233.xxxxxx"
#
# ssl
configuration
#
#admin-port-ssl = "true"
#ssl-client-certkey-file =
"/usr/local/kannel-cvs-30-dec/etc/server-keys/wap-sms-gw.key"
ssl-server-cert-file
=
"/usr/local/kannel-cvs-30-dec/etc/server-keys/server.crt"
ssl-server-key-file
= "/usr/local/kannel-cvs-30-dec/etc/server-keys/server.key"
# smsc config GSM modem 1
group = smsc
smsc = at2
modemtype =
siemens-tc35
device = /dev/ttyS0
pin = xxxxxx
speed = 9600
# phone
number xxxxxx
# smsc config GSM modem 2
group = smsc
smsc = at2
modemtype =
siemens-tc35
device = /dev/ttyS1
pin = xxxxxx
speed = 9600
# phone
number xxxxxx
# The main SMSBOX config
group = smsbox
bearerbox-host =
"195.233xxxxxx"
sendsms-port = 13013
#global-sender =
3253686237
sendsms-chars = "0123456789 +-"
reply-couldnotfetch = "could
not fetch content sorry ..."
reply-couldnotrepresent = "could not represented
as SMS sorry ..."
reply-requestfailed = "request failed
...."
reply-emptymessage = "empty message will not be send"
log-file =
"/var/log/smsbox.log"
log-level = 0
access-log =
"/var/log/smsaccess.log"
#
# enable SSL for the
box
#
sendsms-port-ssl = true
#
# Now all SMS Service & User config.
#
group = sms-service
keyword = default
text = "No service specified"
group = sendsms-user
faked-sender = "xxxxxx"
username =
xxxxxx
password = xxxxxx
#user-deny-ip = ""
#user-allow-ip =
""
max-messages = 2
concatenation = true
#footer = "+Happy new year.
This is a vodafone SMS service, don't use this number for callback!+"
footer
= "++This is a service by vodafone, don't callback!++"
group = sendsms-user
faked-sender = "xxxxxx"
username =
xxxxxx
password = xxxxxx
#user-deny-ip = ""
#user-allow-ip = ""
group = sendsms-user
faked-sender = "ota"
username = ota
password =
ota
#user-deny-ip = ""
#user-allow-ip = ""
group = sms-service
keyword = hallo
get-url = "http://195.233.xxxxxx:13013/cgi-bin/sendsms?username=xxxxxx&password=xxxxxx&to=xxxxxx&text=Hallo"
footer
= "A Service from Vodafone"
group = sms-service
keyword = msa
get-url = "http://xxxxxx/servlet/SmsIn?msaMsisdn=%p&msaTxt=%a"
group = otaconfig
ota-id = test
location = "http://wap.xxxxxx/indexwap.wml"
service
= "Vodafone Wap Server"
ipaddress = xxxxxx
phonenumber = xxxxxx
bearer
= data
calltype = isdn
connection = cont
pppsecurity =
off
authentication = normal
login = xxxxxx
secret = xxxxxx
speed =
9600
group = sendsms-user
username = xxxxxx
password =
xxxxxx
max-messages = 2
concatenation = 1
####
debug
####
2002-01-25 09:54:41 [2] WARNING: SSL: handshake
failed: HTTP spoken on HTTPS port
2002-01-25 09:54:41 [2] WARNING: SSL:
OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http
request
2002-01-25 09:54:41 [2] WARNING: SSL: disconnecting.
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.
2002-01-25 09:55:41 [2] ERROR:
HTTP: unsuccessfull SSL handshake for client `195.233.210.4'
2002-01-25
09:59:50 [2] WARNING: SSL: handshake failed: HTTP spoken on HTTPS
port
2002-01-25 09:59:50 [2] WARNING: SSL: OpenSSL: error:1407609C:SSL
routines:SSL23_GET_CLIENT_HELLO:http request
2002-01-25 09:59:50 [2] WARNING:
SSL: disconnecting.
2002-01-25 09:59:50 [2] ERROR: HTTP: unsuccessfull SSL
handshake for client `195.233.210.4'
2002-01-25 10:02:51 [2] WARNING: SSL:
handshake failed: HTTP spoken on HTTPS port
2002-01-25 10:02:51 [2] WARNING:
SSL: OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http
request
2002-01-25 10:02:51 [2] WARNING: SSL: disconnecting.
2002-01-25
10:02:51 [2] ERROR: HTTP: unsuccessfull SSL handshake for client
`195.233.129.13'
2002-01-25 10:02:51 [2] WARNING: SSL: handshake failed: HTTP
spoken on HTTPS port
2002-01-25 10:02:51 [2] WARNING: SSL: OpenSSL:
error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
2002-01-25
10:02:51 [2] WARNING: SSL: disconnecting.
2002-01-25 10:02:51 [2] ERROR:
HTTP: unsuccessfull SSL handshake for client `195.233.129.13'
2002-01-25
10:03:53 [2] WARNING: SSL: handshake failed: HTTP spoken on HTTPS
port
2002-01-25 10:03:53 [2] WARNING: SSL: OpenSSL: error:1407609C:SSL
routines:SSL23_GET_CLIENT_HELLO:http request
2002-01-25 10:03:53 [2] WARNING:
SSL: disconnecting.
2002-01-25 10:03:53 [2] ERROR: HTTP: unsuccessfull SSL
handshake for client `195.233.210.4'
2002-01-25 10:08:46 [2] WARNING: SSL:
handshake failed: HTTP spoken on HTTPS port
2002-01-25 10:08:46 [2] WARNING:
SSL: OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http
request
2002-01-25 10:08:46 [2] WARNING: SSL: disconnecting.
kind regards
Vodafone TeleCommerce GmbH
Architecture & Engineering
Bjoern
Buettner
Rehhecke 50
40885 Ratingen
Tel. +49 (0) 21 02 / 97 20 13
Fax +49 (0) 21 02 / 97 15 14
mailto:[EMAIL PROTECTED]
www.vodafone-telecommerce.de