We host an API (Web App) on Xojo Cloud, and the SSL certs all appear to be in working order. When one of our clients (Xojo app using URLConnection to talk to Web App) connects everything works great - here in North America.
When a client uses our product in Paris, they get: Error code: 6 "Unacceptable TLS certificate"
I left a message for our certificate issuer, but in the meantime has anyone ran across this? Thanks for any direction.
Rick, I’m sharing this support email (below) if it helps. The certs are installed on Xojo Cloud by the Xojo team (I’m not sure I can issue a --reinstall command). What’s interesting is that they (SECTIGO) claim “no issues”, which leads me to ask - what exactly does the error “Unacceptable TLS certificate” truly mean? And what else could be causing this if not SSL certs?
Dear Customer,
Thank you for writing to us.
SSL Checker
We can see that SSL and CA-Chain files are perfectly installed and
https://api.fluidlink.io/
is working fine without any issues from outside US, Please verify again and share the screenshots if you still get the error.
I have not paid attention and was thinking you were hosting your your files/apps by yourself. Sometimes by unknown causes to me, the certificate chain is broken, and in some cases a “refresh” (reinstall) of the CAs fix it; or they are outdated and sudo update-ca-certificates could help too. But if SECTIGO did test it, and said it’s ok, I’m out of new ideas. The problem seems to lie at some point between the client and Xojo servers, including both. But seems something that can be only solved at the server side and is related to the ability to correctly process all the certificates involved with proper updated ciphers and systems able to process TLS 1.1 to 1.3.
Thanks for hopping in with the SSL knowledge, Rick. I like to keep an eye on and learn things about web deployment issues. I wish you the best, William.
Another thing to look at is to make sure that the date/time are correct on the machines in France. SSL Certificates are very time sensitive and if the date/time doesn’t fall within the validity period of the certificate, it’ll outright fail.
Also if you have shell access to those machines, you can use openssl to validate the certificate:
I love the suggestion regarding “time”. Are you saying that if the PC/Device system-clock isn’t set to correct local time that that could cause an issue?
I’m saying that if it’s set to a date/time that is outside of the valid dates for the SSL certificate that this could be a problem.
So let’s say you just bought a cert today with a one year validity. If the date on the computer is earlier than today or after a year from now, it’ll give this error when connecting to the server with this cert.
So yes, connecting to and using a Network Time Protocol (NTP) server is really important.
Thanks to everyone for checking into this with me. As it turns out the timezone on the device was incorrect, and once they were updated the TLS error went away and everything is working as expected.