Hi All, I need to enable https when calling sendsms with some parameters. so i have enabled following in the core group.
i have used this steps to create the key files. http://www.akadia.com/services/ssh_test_certificate.html #ssl-server-cert-file = "/usr/trans/server.crt" #ssl-server-key-file = "/usr/trans/server.key" send-sms sendsms-port-ssl = true But when i use lynx -dump "https://147.120.203.99:17018/cgi-bin/sendsms?username=xxx&password=xx&to=21 6&from=447&text=test&dlr-mask=31" Looking up 147.120.203.99:17018 Making HTTPS connection to 147.120.203.99:17018 Retrying connection without TLS. Looking up 147.120.203.99:17018 Making HTTPS connection to 147.120.203.99:17018 i can see the following in my kannel logs. 2008-05-05 10:24:31 [11671] [2] DEBUG: HTTP: Creating SSL-enabled HTTPClient for `147.120.203.99', using cipher '(NONE)'. 2008-05-05 10:24:31 [11671] [2] DEBUG: HTTP: Created HTTPClient area 0x2aaaac001660. 2008-05-05 10:24:31 [11671] [1] ERROR: SSL read failed: OpenSSL error 1: error:00000001:lib(0):func(0):reason(1) 2008-05-05 10:24:31 [11671] [1] DEBUG: HTTP: Destroying HTTPClient area 0x2aaaac001660. 2008-05-05 10:24:31 [11671] [1] DEBUG: HTTP: Destroying HTTPClient for `147.120.203.99'. 2008-05-05 10:24:31 [11671] [2] DEBUG: HTTP: Creating SSL-enabled HTTPClient for `147.120.203.99', using cipher '(NONE)'. 2008-05-05 10:24:31 [11671] [2] DEBUG: HTTP: Created HTTPClient area 0x2aaaac001a50. 2008-05-05 10:24:31 [11671] [1] ERROR: SSL read failed: OpenSSL error 1: error:00000001:lib(0):func(0):reason(1) 2008-05-05 10:24:31 [11671] [1] DEBUG: HTTP: Destroying HTTPClient area 0x2aaaac001a50. 2008-05-05 10:24:31 [11671] [1] DEBUG: HTTP: Destroying HTTPClient for `147.120.203.99'. what could be the problem..i have enabled the enable-ssl when compiling. where i went wrong ? iam using OpenSSL 0.9.8b 04 May 2006. many thanks, Tharanga
