Checking understanding: PB and HTTPS
Posted: Wed Sep 20, 2023 4:26 am
I was talking to someone about PB and at one point the topic came supporting a simple HTTPS server.
I have been searching through the forums after not finding anything directly in the documentation. I'm hoping someone could verify that my understanding of the current status of HTTPS-type support is correct...
I have been searching through the forums after not finding anything directly in the documentation. I'm hoping someone could verify that my understanding of the current status of HTTPS-type support is correct...
- PB supports HTTPS requests for client-side applications only.
- The client-side HTTPS support on Linux has an external dependency, but I don't know how or if this affects portability (compile on my Linux system and deploy to another Linux system, will there be a risk of a version mismatch or is everything statically compiled?)
- If I wanted to create a web server in PB that encrypts the connection, I would have to somehow create a proxy front-end that implements HTTPS and forwards the connections to a basic HTTP server from PB.
- Alternatively there are ways to use platform-specific libraries and use C-interfaces to integrate them into an application, but they tend to be non-portable.
- It seems there is some kind of support for this with Chilkat Software plugins, but I'm not sure how version-dependent they are...ideally a solution would have minimal chance of breaking by being statically compiled for simpler distribution but I don't know how much of a problem this normally is with PB applications...?
- I don't see any news of future support being integrated into the language for expanded HTTPS/TLS support beyond the network client support currently implemented?