for php you can use full openssl extension
http://php.net/manual/en/book.openssl.php
but for http protocol, you can use file_get_contents
(http://php.net/manual/en/function.file-get-contents.php)
with context array informations for better http parameters
(http://www.php.net/manual/en/function.stream-context-create.php)

2013/9/18 Lou Picciano <loupicci...@comcast.net>:
> There are also some excellent modules for Python designed for exactly this. 
> Very robust, well documented - core python functionality. httplib(2) comes to 
> mind first.
>
> Lou Picciano
>
> ----- Original Message -----
> From: "James Marshall" <ja...@jmarshall.com>
> To: openssl-users@openssl.org
> Sent: Wednesday, September 18, 2013 11:33:04 AM
> Subject: Re: simple https client application
>
>
> Yes, very possible. What language are you using?
>
>
> I use Perl, and there's a CPAN module called Net::SSLeay that provides Perl 
> wrappers for all the OpenSSL functions. That module also includes a simple 
> example client, which you can see at 
> http://search.cpan.org/~mikem/Net-SSLeay-1.55/lib/Net/SSLeay.pod#EXAMPLES . 
> Because these functions are wrappers, the C version would be roughly the same 
> sequence.
>
>
> I have other sample clients and servers; ask if you need any more. The 
> OpenSSL site documents each C function, which are named the same as the Perl 
> functions in the example above.
>
>
> Cheers,
> James
>
>
>
>
>
> On Wed, Sep 18, 2013 at 4:44 AM, Indtiny s < indt...@gmail.com > wrote:
>
>
>
>
>
>
>
>
>
> Hi,
> I want to use a openssl api and use that as http client .
> currently I am using the c-curl lib with opebssl to do this .
>
>
> and I am running a Nginx server with openssl to support server funs.
>
>
>
> I want to remove the curl, and use only openssl to talk to the HTTPS server 
> to do GET or PUT .
>
> is it possible to implement a simple https client using openssl-APIs ?
> if so pls help me how to start ..?
>
> Rgds
> Indra
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org



-- 
Roberto Spadim
SPAEmpresarial
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to