TA_E_INET in online activationSolved

Hello! I am using the Example.c test program of TurboActivate 4.0.9.4 API. When it is compiled in Ubuntu it works well. However, if I try to execute the same program with same library (libTurboActivate.so for amd64) in OpenSUSE this program returns an error code 0x4. As I have see, this error occurs when the connection to the servers fails.

In other thread, I read about TA_E_INET error is because CACerts should be installed. After this, I saw that the system tries to connect to the 104.20.30.216 IP address. Therefore, I downloaded the certificate for this address with the openssl command.

Finally, I move this certificate to the following paths: /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt /usr/share/ssl/certs/ca-bundle.crt /usr/local/share/certs/ca-root.crt /etc/ssl/cert.pem

After following these steps, I still can not run the example program in OpenSUSE. I don't know why it works perfectly in Ubuntu but in OpenSUSE it fails.

Has anyone ideas as to the cause?Thanks in advance.

OpenSUSE uses a non-standard CACert path, so, in the upcoming version of TurboActivate we've added "/var/lib/ca-certificates/ca-bundle.pem" as a search path. In the meantime customers on OpenSUSE can do a symbolic link to one of the "normal" CACerts search paths.

Thank you very much, you were right.I have solved the connection problem with a symbolic link, but now I have another problem.

This problem is because of system date (0xd code). I have checked this using the timedatectl command, however date, time and timezone are correct. The command shows the following info: - Local time: Thu 2017-03-23 13:03:04 CET - Universal time: Thu 2017-03-23 12:03:04 UTC - RTC time: n/a

Could the problem be due to RTC time? I have tried to set this time with Network Time Protocol but I have not obtained results.

After fixing the date/time restart the machine. My guess is that you were on a VM and you resumed the VM from sleep. Restarting the machine will workaround bugs in VMs specifically relating to date/time.

TurboActivate 4.0.9.6 is out which fixes the TA_E_INET error on OpenSUSE: https://wyday.com/limelm/api/#turboactivate