TLS Enabled HTTP Client using libuv

59 views
Skip to first unread message

Boris Feinstein

unread,
Apr 21, 2021, 4:06:44 AMApr 21
to libuv
Hi all,

I'm looking for a library to allow performing HTTP requests using libuv with TLS support.
Not an HTTP server, only an HTTP client.

Is anyone familiar with such projects?

Thanks in advance,
Boris

Reza Mahdi

unread,
Apr 21, 2021, 4:18:07 AMApr 21
to li...@googlegroups.com
Well, I didn't find any one for server or client. By the way, what you want is 2 parts:
 
 1. After creating the connection, create the request.
 2. Create a tls engine that is performing in memory, for example a MEM_BIO in openssl

And then perform the transportation.

Creating the request is easy, http is a textual protocol. For tls side, read openssl ssl docs with memory BIO.

--
You received this message because you are subscribed to the Google Groups "libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libuv+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/libuv/8e7ee63c-2753-4b71-8ae3-ed5abf8c4f82n%40googlegroups.com.

Devchandra L Meetei

unread,
Apr 21, 2021, 5:09:00 AMApr 21
to li...@googlegroups.com
Hi 
I think I do have a POC that you can use https://github.com/deleisha/evt-tls




--
Warm Regards
--Dev
OpenPegasus Developer

"I'm one of those people that think Thomas Edison and the light bulb changed the world more than Karl Marx ever did,” Steve Jobs

pa...@rcom-software.com

unread,
Jun 1, 2021, 3:08:14 PMJun 1
to libuv
Hi:

I have used OpenSSL for that kind of functionality successfully. Howerver,  be aware   that it does have idiosyncracies
and you must decide on  SSL Certficate Authority arrangements to select the correct API calls.  The verision I use
is 1.1.1e which is certainly not the latest one. Also, you need to have your Certificate creation arrangments in
order before you can use OpenSsl. The postiive side to this is that OpenSSL has an array of tools to simplify
this task. However, you must be willing to carefully read the documentation.

The following links provide relevant information.


A lot of the documentation is accessible as Linux man  pages.  I can send you a
copy of some model code if you would like.

Best Regards,

Paul R.

Paul Romero

unread,
Jun 1, 2021, 3:10:33 PMJun 1
to libuv
Hi:

The model code I mentioned is attached to this note.

Best Regards,

Paul R.

To view this discussion on the web visit https://groups.google.com/d/msgid/libuv/0bd3a276-16ca-486a-97af-cb6844fa1c16n%40googlegroups.com.

-- 


Paul Romero
-----------
RCOM Communications Software
EMAIL: pa...@rcom-software.com
PHONE: (510)482-2769




ssl.c
Reply all
Reply to author
Forward
0 new messages