In environments where the certificate is not trusted, the following errors may occur:
x509: certificate signed by unknown authority
The underlying connection was closed
Certificate not trusted / handshake failure
Solutions are divided into two categories:
- ✔ Formal solution: Install CA root certificate (recommended)
- ⚠ Development solution: Ignore certificate verification (testing only)
✔ Method 1: GUI installation (recommended)
1. Download BYW dedicated certificate (Windows / Linux / all languages universal):
Download CA Root Certificate
2. Double-click the certificate file → Install certificate
Select: Current User or Local Computer (recommended)
3. Certificate store location:
4. Complete installation → verify success
✔ Method 2: Command line installation (administrator)
Verify:
- CentOS / RHEL
- Ubuntu / Debian
update-ca-trust
update-ca-certificates
✔ Verification:
If "Hello World" appears, it indicates success
🟦 C# / .NET
☕ Java
🟨 Node.js
🐍 Python
🧪 curl
✔ Recommended to install CA root certificate
✔ Self-signed certificates are for testing only
❌ Not recommended to disable certificate verification or ignore SSL errors
🧠 Installing CA root certificates establishes a trust chain; ignoring certificate validation bypasses security mechanisms and is for development only.