Commit Graph

5 Commits

Author SHA1 Message Date
7546e13cfb fix: handle domain names in IP4 configuration variable
Previously, when the IP4 variable contained a domain name instead of an actual IP address, the SNI validation would fail and force the use of self-signed certificates. This update adds detection and resolution of domain names in the IP4 variable, ensuring proper DNS comparison when checking if the SNI domain points to the server.
2025-04-27 11:32:43 +03:30
ff194d0098 Changes:
feat: Add SNI checker and certificate manager
Key features:
- Domain-to-IP resolution verification
- Automatic Let's Encrypt certificate acquisition
- Self-signed fallback for domains not pointed to the server
- Updates insecure flag in config.json based on certificate type
- Updates SNI in environment config
- Generates and updates SHA-256 fingerprint

fix(urls): Update URI generator to respect TLS insecure flag
Changes:
- Added insecure parameter to generate_uri() function
- Read TLS insecure flag from config.json
- Set insecure=0 for valid certificates and insecure=1 for self-signed ones
- Updated all URI generation calls to include the insecure parameter
2025-04-21 00:17:28 +03:30
44942e3b70 Fix: simplify SNI fingerprint generation using OpenSSL only 2025-04-11 13:44:23 +03:30
fcc0aadc48 Enhance SNI entry handling in CONFIG_ENV file 2025-03-08 21:43:04 +03:30
e9ff263274 Change SNI Files/CLI/Handler 2024-09-05 20:50:24 +00:00