RE: please help
"Ayham ............." <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
danke schön bitte ...Stipe Tolji changed this in Makefile and the problen is solved but i still got bad gateway when i request an ssl site and have this error in wapbox.log 2008-01-16 22:04:18 [24206] [13] DEBUG: Octet string dump ends.2008-01-16 22:04:18 [24206] [13] ERROR: SSL write failed: OpenSSL error 1: error:00000001:lib(0):func(0):reason(1)2008-01-16 22:04:18 [24206] [13] ERROR: SSL write failed: OpenSSL error 1: error:00000001:lib(0):func(0):reason(1)2008-01-16 22:04:18 [24206] [13] ERROR: Couldn't send request to <https://bank.neotech.com>2008-01-16 22:04:18 [24206] [8] ERROR: WSP: HTTP lookup failed, oops.2008-01-16 22:04:18 [24206] [8] WARNING: WSP: Content type <text/plain> not supported by client, deleting body.2008-01-16 22:04:18 [24206] [3] DEBUG: WSP (UNIT): event arrived2008-01-16 22:04:18 [24206] [3] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003.2008-01-16 22:04:18 [24206] [3] DEBUG: WSP: Mapping `X-WAP.TOD', WSP 1.3 to 0xffffffffffffffff.2008-01-16 22:04:18 [24206] [3] DEBUG: WSP: Mapping `Content-Length', WSP 1.3 to 0x000d.2008-01-16 22:04:18 [24206] [3] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 to 0x0011.2008-01-16 22:04:18 [24206] [3] DEBUG: WSP: Mapping `Encoding-Version', WSP 1.3 to 0x0043. and i have all the certificaites added in kannel.conf and this is the core group group = core admin-port = 13000 admin-password = 123456 admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" wapbox-port = 13002# wapbox-port-ssl = "yes"# smsbox-port = 13001 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" access-log = "/var/log/kannel/bearerbox.access" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;192.168.0.*" http-proxy-host = "proxy.neotech.com" http-proxy-port = 8080 ssl-client-certkey-file = "/root/rootCA/certkey.pem" ssl-server-cert-file = "/usr/local/kannel-snapshots/cert.pem" ssl-server-key-file = "/usr/local/kannel-snapshots/key.pem" ssl-trusted-ca-file = "/usr/local/kannel-snapshots/cert.pem" i just wana know : can i get an https with kannel or not ? thank you again ... A.A.A > Date: Wed, 16 Jan 2008 23:47:58 +0100> From: [email protected]> To: [email protected]> CC: [email protected]> Subject: Re: please help> > Ayham ............. schrieb:> > i have a problem with wtls > > with kannel 1.4 > > am using ubuntu 7.10 server 64> > i configure it with command./configure> > --enable-docs --enable-start-stop-daemon --enable-ssl> > --with-ssl=/usr/lib/ssl --with-wtls=openssl> > --prefix=/usr/local/kannel> > > > > > i got no error and i wtls support i got :> > > > Configuring WTLS support ...> > checking for WTLS library... openssl> > checking for RSA_new in -lcrypto... yes> > checking openssl/objects.h usability... yes> > checking openssl/objects.h presence... yes> > checking for openssl/objects.h... yes> > checking openssl/rc5.h usability... yes> > checking openssl/rc5.h presence... yes> > checking for openssl/rc5.h... yes> > > > but i got errors in make > > > > gcc -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/local/openssl/lib/include -rdynamic -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lrt -lresolv -lnsl -lm -lpthread -L/usr/lib -lxml2 -L/usr/local/openssl/lib/lib -lcrypto -lssl -L/usr/local/ssl/lib -lcrypto> > libwap.a(wtls_statesupport.o): In function `wtls_encrypt_rc5':> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:410: undefined reference to `RC5_32_set_key'> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:416: undefined reference to `RC5_32_cbc_encrypt'> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:432: undefined reference to `RC5_32_cbc_encrypt'> > libwap.a(wtls_statesupport.o): In function `wtls_decrypt_rc5':> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:347: undefined reference to `RC5_32_set_key'> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:355: undefined reference to `RC5_32_cbc_encrypt'> > /home/user/kannel-snapshot/wap/wtls_statesupport.c:373: undefined reference to `RC5_32_cbc_encrypt'> > collect2: ld returned 1 exit status> > make: *** [gw/wapbox] Error 1> > the issue here is the concurrency problem between your distro's openssl package > and the one you have installed at /usr/local/opsnessl.> > The references ARE defined in libcrypto., but the -L/usr/lib that is added for > libxml2 support is causing the linker to pick the distro's /usr/lib/libcrypto.a > in favor of /usr/local/openssl/lib/libcrypto.a.> > I will need to check configure.in to change this. For a quick workaround, please > edit your Makefile and remove the -L/usr/lib while building the binaries.> > In any case, the WTLS support within Kannel has never been finalized. So it's > most likely that you won't be able to use it in production environments.> > Stipe> > -------------------------------------------------------------------> Kölner Landstrasse 419> 40589 Düsseldorf, NRW, Germany> > tolj.org system architecture Kannel Software Foundation (KSF)> http://www.tolj.org/ http://www.kannel.org/> > mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org> ------------------------------------------------------------------- _________________________________________________________________ Put your friends on the big screen with Windows Vista® + Windows Live™. http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008