Hi Everyone,

 

I am wondering if WTLS support in kannel 1.4.0 is there?

 

I am trying to get the WTLS component of the the Kannel Wap Gateway working on Cygwin system.  I have successfully configured with the –with-wtls=openssl switch. I have also compiled the openssl package with the FIPS switch.

 

When I start-up the gateway. I get the following output:

 

$ ./bearerbox.exe ../kannel/etc/wapkannel.conf

2005-06-21 11:09:20 [3540] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0

2005-06-21 11:09:20 [3540] [0] WARNING: DLR: using default 'internal' for storage type.

2005-06-21 11:09:20 [3540] [0] INFO: DLR using storage type: internal

2005-06-21 11:09:20 [3540] [0] DEBUG: Kannel bearerbox version `1.4.0'.

Build `Jun 20 2005 17:19:17', compiler `3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)'.

System CYGWIN_NT-5.1, release 1.5.17(0.129/4/2), version 2005-05-25 19:38, machine i686.

Hostname [WITHHELD], IP [X.X.X.X].

Libxml version 2.6.16.

Using WTLS library OpenSSL 0.9.7g 11 Apr 2005.

Using native malloc.

 

2005-06-21 11:09:20 [3540] [0] INFO: Added logfile `/tmp/bearerbox.log' with level `1'.

2005-06-21 11:09:20 [3540] [0] ERROR: SSL: error:02001002:system library:fopen:No such file or direc

tory

2005-06-21 11:09:20 [3540] [0] PANIC: reading global server certificate file my-wap.cert, the certif

icate                   isn't consistent with the private key in file my-wap.key                   (

or failed reading the file)

 

My kannel.conf looks like this:

 

group = core

admin-port = 13000

wapbox-port = 13002

admin-password = bar

#status-password = foo

#admin-deny-ip = ""

#admin-allow-ip = ""

wdp-interface-name = "*"

log-file = "/tmp/bearerbox.log"

log-level = 1

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1"

#access-log = "access.log"

#store-file = "kannel.store"

ssl-server-key-file = "my-wap.key"

ssl-server-cert-file = "my-wap.cert"

 

group = wapbox

bearerbox-host = localhost

log-file = "/tmp/wapbox.log"

log-level = 0

syslog-level = none

access-log = "/tmp/wapaccess.log"

 

 

FYI both the key and cert file are in the same directory as the conf file.

 

Can anyone help? Has anyone got the WTLS stuff to work?

 

Has anyone instructions on how to generate appropiate private/public keys and certificates (self-signed)?

 

Regards,

 

Faisal Nazir

 

Reply via email to