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
Kevin Okello
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.
Andis Blicāns, Grasko
3-24-26
Created byKevin Okello10:38 11 Nov 2025
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 env
Thank You for answer.
In this case I used


SSLNoCertificateValidation = true;

SendWebRequest
SSLNoCertificateValidation = false;

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 there, Server – tried both Windows Server 2022 and Linux Version - 2025-08-11 and 2026-05-25 We were testing a new version (2025-08-11) with a Halcust that we had migrated from the existing ...
10:11 4 Aug 2026
Kevin Stepper
Hi, years ago we used to have the email and conference module. Did not need it so we dropped it. We hav recently implemented global users, which are all named users and therefor seem to need a m...
18:07 3 Aug 2026