Page 5 of 6
Re: Implement a full SSL/TLS library
Posted: Fri May 26, 2023 4:52 pm
by RichAlgeni
I'm wondering if we may have been barking up the wrong tree with this? What if we just used REST protocols, with a lightweight open source web server and PureBasic intrinsic, HTTPRequest()? Seems like that, at least in my case, solves the problem.
Thoughts?
Re: Implement a full SSL/TLS library
Posted: Mon May 29, 2023 10:34 am
by the.weavster
RichAlgeni wrote: Fri May 26, 2023 4:52 pm
I'm wondering if we may have been barking up the wrong tree with this? What if we just used REST protocols, with a lightweight open source web server
PB already has FastCGI() commands if you're happy to put a third-party server in the mix. I've done this with Apache and it works well.
Re: Implement a full SSL/TLS library
Posted: Sat Jun 03, 2023 4:13 pm
by RichAlgeni
the.weavster wrote: Mon May 29, 2023 10:34 amPB already has FastCGI() commands if you're happy to put a third-party server in the mix. I've done this with Apache and it works well.
That's what I am thinking I will do.
Re: Implement a full SSL/TLS library
Posted: Sat Jun 03, 2023 8:07 pm
by HeX0R
Adding TLS to PBs Network commands is pretty easy, see
here
Re: Implement a full SSL/TLS library
Posted: Fri Feb 09, 2024 11:15 am
by hoerbie
Hi,
after seeing and testing the work of Opcode, idle, HexOr and infratec on
https://www.purebasic.fr/english/viewto ... 78#p593078 I would really love to have TLS integrated stable in CreateNetworkServer().
Before I make an offer to Fred, maybe there are others in the PB community that would as well pay something for this and we can add the amounts?

Re: Implement a full SSL/TLS library
Posted: Fri Feb 09, 2024 4:07 pm
by KosterNET
+1 for me, and I will also put in some extra

Re: Implement a full SSL/TLS library
Posted: Fri Sep 06, 2024 5:23 pm
by USCode
hoerbie wrote: Fri Feb 09, 2024 11:15 am
... Before I make an offer to Fred, maybe there are others in the PB community that would as well pay something for this and we can add the amounts?
+1
Anything new on this?
Re: Implement a full SSL/TLS library
Posted: Fri Sep 06, 2024 10:31 pm
by idle
The current version of libretls 3.9.2 is available in the atomicwebserver.com repo
https://github.com/idle-PB/atomic_webserver_3
The tls.pbi is thread safe and is also adapted to handle multiple servers to make a terminating reverse proxy which is a must have feature.
It's transparent to the pb network functions and fairly well tested in atomicwebserver.com which is also reverse proxying another domain with both servers running on the same machine.
It should be easy for the dev team to adapt into the network lib now it's tested but even so all that needs doing is to add static builds of libretls and we can just use tls.pbi
Re: Implement a full SSL/TLS library
Posted: Tue Sep 24, 2024 3:47 pm
by skinkairewalker
Atomic_webserver_3 would be compatible with CertBot (formerly letsencrypt) or ZeroSSL (paid certificate) ?
Re: Implement a full SSL/TLS library
Posted: Tue Sep 24, 2024 8:46 pm
by idle
You can use any acme client with http request you just need to run an instance on port 80 for the http request to work.
I use lets encrypt certs and use certify the web for windows
Re: Implement a full SSL/TLS library
Posted: Thu Dec 12, 2024 9:16 am
by Fred
Done !
Re: Implement a full SSL/TLS library
Posted: Thu Dec 12, 2024 9:53 am
by NicTheQuick
That's huge!

Re: Implement a full SSL/TLS library
Posted: Fri Dec 13, 2024 6:16 am
by idle
NicTheQuick wrote: Thu Dec 12, 2024 9:53 am
That's huge!
building LibreTLS static on windows linux osx arm yes that's a big bonus.
Re: Implement a full SSL/TLS library
Posted: Fri Dec 13, 2024 6:38 am
by skywalk
Wait, that's gonna be static or external dll?
Re: Implement a full SSL/TLS library
Posted: Fri Dec 13, 2024 8:58 am
by Fred
Static like most of the PB libs