New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqueakSSLCertificateError in some Linux distributions (Red Hat) #5
Comments
Can you please change initialize
"Initialize the receiver"
handle := self primitiveSSLCreate.
self logLevel: 1. You should then get information on stdout or stderr, which would be helpful. Also, what is the result of |
Hi, ==== FreeBSD 12 , linux Emulation ===============
===== in Red Hat ============
Here there is a proxy, accessing non https works
Accessin google (https) instead give this.
|
closed by mistake, sorry |
what is the openssl version for each installation? freebsdAlso, the first seems to translate to this: (see https://www.openssl.org/docs/man1.0.2/man1/verify.html)
Are you sure all root certificates are properly initialized? RedHat
You can set I somehow suspect that the proxy-server is "mingling" with the server name… |
Correction.
So, we are comparing the sever-name from google against the psproxy. Can you please change the Method self sslConnect: stream to: lastServer. to self sslConnect: stream to: self serverName. and see if it helps? |
Openssl versions.
RedHat: Red Hat. this give the same error as before. Nothig interest setting 'debugLog' Red Hat. With this correction it all works Ok! there remains only the FreeBSD/Linux-emulation, which is a very rare platform. |
freebsd.Ok I locally did RedHat.Ok so we need to change that. |
Also: please give
|
ok, thank you for your help ! I run the commands under
|
That looks reasonable. I have a suspicion that different versions of libssl might be available on the system. Can you try a debug-vm? That should give you all the load paths. PS: Have you tried on FreeBSD without LinuxEmulation? |
Well, I am just a beginner in Squeak ;) I don't know how to run a Unfortunately the package/port of Squeak for FreeBSD is quite old, release 4.1. So, when I started, a month ago, I decided a recent Linux version was preferable.
I can try to make a new package for FreeBSD, but i prefer to spend the time available at working with the language before. Anyhow, I have run a
|
Ok, i think i solved it. I tried to change a lot of stuff, but the final kick was this: So I copied the FreeBSD version of the same file there. Restart Squek, now https works , yeah ! |
Thats great to hear! Actually, that's why I asked for I will see that the RedHat-thing is being fixed. |
thank you for help krono! bye |
Welcome! |
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
tested only in FreeBSD 12, Linux compatibility layer.
The text was updated successfully, but these errors were encountered: