Did you have OpenSSL available on those machines? Did you verify that it
is getting loaded correctly?
It wasn't installed. After I did a copy and paste of the files libeay32.dll and ssleay32.dll to the installation folder of my application, it works on one of the machines: Win Server 2008, but not on the other machines with Win10 (I double checked that those files are present on the installation folder of my application that is C:\Program Files\CINI-CSP\). The Win8 machine hasn't been tested yet.
The SSLIOHandler component also has OnStatus... events that
you can use to log some details while the SS/TLS handshake is in progress.
This event allowed me to see the following steps:
- Resolving hostname smtp.gmail.com
- Connecting to 64.233.186.108 or 64.233.190.109 or 64.233.186.109
- SSL negotiation failed
This doesn't help me understand what's happening, though.
Then it definately sounds like either you are not deploying/installing OpenSSL
correctly, or you are using an older version, or something like that. You
are very likely not using the same version that is on your development machine.
Reviewing the files versions I found that:
- On my Win10 machine I have the 1.0.1.13 versions installed on the application folder and it works well, but if I change the files to the new 1.0.2.11 version then it does not work and shows the same error message
- On my Win Server 2008 machine the behavior is exactly the same
- On the customer's Win10 machine I had installed the 1.0.2.11 version, so I changed to the 1.0.1.13 version, but the error message is still there
- Can't test on other machines because they are still on production
This begs the question, why could this new version (.2.11) not work on my development machine while the previous one (.1.13) does? ...I would expect to use the latest one both in development and production, but it can't even work on my development workspace.
Regardless, the .1.13 version
does work on my development machine, so what could be causing it not to work in the tested Win10 production environment?
Thanks in advance and best regards,
Patricio Cerda
Connect with Us