squeak-smalltalk / squeakssl Goto Github PK
View Code? Open in Web Editor NEWSqueakSSL plugin sources
SqueakSSL plugin sources
Hi, I'm looking into implementing HTTP/2 for the Zinc Webservice. HTTP/2 require an extension to the TLS negotiation called ALPN (https://tools.ietf.org/html/rfc7301) which let arbitraty applications use and reuse TLS/SSL on port 443 to communicate.
The required API for this can be found from OpenSSL 1.0.2 (https://www.openssl.org/docs/man1.1.1/man3/SSL_set_alpn_protos.html) and I wonder if it would be possible to bump up the OpenSSL version of all three platforms to then make it possible to expose the API so it can be accessible from Smalltalk primitives.
maybe this is simple and something I can do myself, but this is the first time I dive this deep into the stack and would just liek to know if it is possible or any hints on how to do it.
Thx!
When using 9661836 I always get the following error for HTTPS connections to GitHub:
4149843600:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../../ssl/s23_clnt.c:565:```
I'd be great if you could ship 64bit so.SqueakSSL, too. I have attached a Zip
file which includes your binaries and a 64bit-linux binary, which works here on
Squeak 4.2.
Original issue reported on code.google.com by [email protected]
on 13 May 2011 at 11:14
Attachments:
Hi,
I am using Squeak 5.2 updated to 18232.
when i run this:
g := 'https://www.google.com' asUrl retrieveContents .
In macOS 10.14.6. it works.
In Linux Debian 9.9 it Works.
In linux Red Hat Enterprise Linux Server release 7.6 (Maipo) gives this error:
SqueakSSLCertificateError : Host name mismatch (code: -1)
In FreeBSD 12, using Linux emulation (Centos 7) gives this error:
SqueakSSLCertificateError : Invalid certificate (code 1)
Any idea why ?
Temporarily, to force the connection to get the data I do:
in WebSocket >> sslConnect , comment this block
self canVerify
ifTrue: [stream verifyCert: self serverName].
tested only in FreeBSD 12, Linux compatibility layer.
The following works fine on windows but returns a "SSL error, code: -5" on
linux:
WebClient httpGet: 'https://open.login.yahooapis.com/openid/op/auth'.
WebClient httpGet: 'https://api.twitter.com/oauth/request_token'
I tested with Squeak 4.1 and 4.2-10779 on Ubuntu 10.10. The VM version is
4.0.3-2202.
The unix plugin from: SqueakSSL-bin-0.1.4.zip
Original issue reported on code.google.com by [email protected]
on 11 Jan 2011 at 8:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.