Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 236 by
sebi...@...: gb.net.curl fails to connect using https
http://code.google.com/p/gambas/issues/detail?id=236When using the gb.net.curl component to fetch a page using ssl (https) curl
raises an unknown error. If AnyHttpClientInstance.Debug = True, the
following is printed to stdout: (used the HTTPGet example to test the bug)
Example using
https://lwn.net* Connection #0 seems to be dead!
* Closing connection #0
* About to connect() to lwn.net port 443 (#0)
* Trying 72.51.34.34...
* Connected to lwn.net (72.51.34.34) port 443 (#0)
* Connected to lwn.net (72.51.34.34) port 443 (#0)
* SSL: couldn't create a context:
error:140A90A1:lib(20):func(169):reason(161)
* Closing connection #0
If you execute curl from a terminal (e.g curl -v
https://lwn.net) it
completes without an error
IMHO, it has to do with certificate validation, but that's all I could find
System: Archlinux
Version: 3.1
Output of <curl --version>:
curl 7.25.0 (i686-pc-linux-gnu) libcurl/7.25.0 OpenSSL/1.0.1 zlib/1.2.6
libssh2/1.4.0
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp
scp sftp smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user