SendWebRequest
Andis Blicāns, Grasko
11-10-25
Operating system: iOS
A file transfer has been created with the SendWebRequest function. The Hansa server does not send anything in the live environment because the public certificate for the other party is not publicly green, namely, a certificate generated for internal use. As soon as the transfer is switched to the other party's test server, where there is another publicly green certificate, Hansa sends the file normally. The Hansa server is probably performing a certificate check. Can this be bypassed?

//Andis
11-11-25
Hi Andis,

The issue occurs because your live server uses an internal or self-signed SSL certificate, which Hansa server does not trust. This is expected behavior — certificate validation ensures secure communication and cannot be bypassed for live environments.

Your test server works because it uses a publicly trusted certificate. To fix this, please install a valid public SSL certificate on your live endpoint (e.g., from Let’s Encrypt or another recognized CA).

For debugging, we recommend using SendWebRequest4, as it allows full control of parameters and request logging.
If the file transfer is from your system to StandardERP, you can also consider using our REST API upload feature.

Regards.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Hi Andis, The issue occurs because your live server uses an internal or self-signed SSL certificate, which Hansa server does not trust. This is expected behavior — certificate validation ensures s...
10:38 11 Nov 2025
Hi again, do we know what it's trying to download, if we download it, it may make the message go away? Thanks...
11:16 30 Oct 2025