Implement a full SSL/TLS library
- RichAlgeni
- Addict
- Posts: 935
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
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?
Thoughts?
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Implement a full SSL/TLS library
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.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
- RichAlgeni
- Addict
- Posts: 935
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: Implement a full SSL/TLS library
That's what I am thinking I will do.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.
Re: Implement a full SSL/TLS library
Adding TLS to PBs Network commands is pretty easy, see here
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Implement a full SSL/TLS library
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?
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
+1 for me, and I will also put in some extra 

Re: Implement a full SSL/TLS library
+1hoerbie 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?![]()
Anything new on this?
Re: Implement a full SSL/TLS library
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
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
- skinkairewalker
- Enthusiast
- Posts: 772
- Joined: Fri Dec 04, 2015 9:26 pm
Re: Implement a full SSL/TLS library
Atomic_webserver_3 would be compatible with CertBot (formerly letsencrypt) or ZeroSSL (paid certificate) ?
Re: Implement a full SSL/TLS library
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
I use lets encrypt certs and use certify the web for windows
- NicTheQuick
- Addict
- Posts: 1504
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Implement a full SSL/TLS library
That's huge! 

The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: Implement a full SSL/TLS library
building LibreTLS static on windows linux osx arm yes that's a big bonus.
Re: Implement a full SSL/TLS library
Wait, that's gonna be static or external dll?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Implement a full SSL/TLS library
Static like most of the PB libs