Re: https server using openssl

2012-11-06 Thread Indtiny s
Hi,

Thanks for detailed information , since I am not  very comfortable  with
c/c++ , it is bit difficulty for me to  design and implement a  webserver
 .

Is there simple open source webserver (which uses the boost lib and has the
option to include my modified openssl libs) for android ndk level ..?


Pls provide some good links .

rgds
Indra

On Thu, Nov 1, 2012 at 2:54 PM, Ted Byers r.ted.by...@gmail.com wrote:

 On Thu, Nov 1, 2012 at 1:47 PM, Indtiny s indt...@gmail.com wrote:
  Hi,
  Thanks for the information , actually I need to write simple webserver
 for
  the android (in the ndk level for some requirement) .
  I have added some new CIPHER suite to the openssl   as per our
 requirement .
  now I need to write simple webeserver which uses that modified-openssl ,
  hence I planned to use the  code which is there in the
  link(http://www.rtfm.com/openssl-examples/) compiled with new openssl
  .. so
  now will it be okay to go with this code ..?
 
 Bear in mind the caveats on that page.  The code is ancient.

 Look for copyright information - who owns the copy right for that
 page/code, and what license did they apply.  The anwsers you want,
 regarding permission to use it are in that documentation, if it
 exists.  If the code is correctly perceived to be open source, then
 you can do what you like with it.  But, even if you can, that is not
 the same thing as you should.  Remember, the age of that code.
 Revising it may be more trouble than it is worth.

  incase if it is not good  to use the above approach , then is boost
 library
  available for android  to use the Mr.Ted approach  ..?
 
 The boost library is a C++ library, and thus an be used on any
 platform for which there is a standards compliant C++ compiler.
 Therefore, if you have a C++ compiler for Android, then you can use
 boost libraries.  The short answer, is yes, there is a C++ compiler on
 Android and thus you can use boost.

 BTW: The boost asio library does use openssl for it's security
 functionality.  Therefore, it ought to be very easy for you to extend
 to include your new cipher, or anything else that you may want.

 Cheers

 Ted
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org



Re: https server using openssl

2012-11-01 Thread Indtiny s
Hi,
Thanks for the information , actually I need to write simple webserver for
the android (in the ndk level for some requirement) .
I have added some new CIPHER suite to the openssl   as per
our requirement . now I need to write simple webeserver which uses that
modified-openssl , hence I planned to use the  code which is there in the
link(http://www.rtfm.com/openssl-examples/) compiled with new openssl  ..
so now will it be okay to go with this code ..?

incase if it is not good  to use the above approach , then is boost library
available for android  to use the Mr.Ted approach  ..?

Rgds
Indra

On Wed, Oct 31, 2012 at 1:20 PM, Ted Byers r.ted.by...@gmail.com wrote:

 On Wed, Oct 31, 2012 at 12:31 PM, Indtiny s indt...@gmail.com wrote:
  Hi,
 
  Thanks for the suggestion , while browsing about openssl I came across
 this
  site http://www.rtfm.com/openssl-examples/
 
  which has  code for server which is based on the  openssl .
 
  Can I use that server code for my simple webserver application ..?
 
  Rgds
  Indra

 I don't know how or if Boost's asio library interacts with openssl,
 but if you want to develop your own server, you probably ought to
 begin with Boost's asio library.  If I where going to write my own
 server, that is what I would do (if I were writing it in C++ rather
 than Perl).

http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio.html

 The site you referenced provides an example that is over a decade old.

 The link I provide above it this year, with current examples for both
 http servers and clients with and without using SSL.  Being a Boost
 C++ library, it provides a solid base on which to build.  The license
 basically lets you use all that code for whatever purpose you wish.
 And, I am sure, once yu have studied it, and openssl, you'll be able
 to extend it to use openssl if it does not presently use it, to add
 capabilities that openssl provides that are not presently available in
 asio (provided you have a good grasp of C++ templates and
 inheritance).

 Cheers

 Ted
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org



Re: https server using openssl

2012-11-01 Thread Ted Byers
On Thu, Nov 1, 2012 at 1:47 PM, Indtiny s indt...@gmail.com wrote:
 Hi,
 Thanks for the information , actually I need to write simple webserver for
 the android (in the ndk level for some requirement) .
 I have added some new CIPHER suite to the openssl   as per our requirement .
 now I need to write simple webeserver which uses that modified-openssl ,
 hence I planned to use the  code which is there in the
 link(http://www.rtfm.com/openssl-examples/) compiled with new openssl  .. so
 now will it be okay to go with this code ..?

Bear in mind the caveats on that page.  The code is ancient.

Look for copyright information - who owns the copy right for that
page/code, and what license did they apply.  The anwsers you want,
regarding permission to use it are in that documentation, if it
exists.  If the code is correctly perceived to be open source, then
you can do what you like with it.  But, even if you can, that is not
the same thing as you should.  Remember, the age of that code.
Revising it may be more trouble than it is worth.

 incase if it is not good  to use the above approach , then is boost library
 available for android  to use the Mr.Ted approach  ..?

The boost library is a C++ library, and thus an be used on any
platform for which there is a standards compliant C++ compiler.
Therefore, if you have a C++ compiler for Android, then you can use
boost libraries.  The short answer, is yes, there is a C++ compiler on
Android and thus you can use boost.

BTW: The boost asio library does use openssl for it's security
functionality.  Therefore, it ought to be very easy for you to extend
to include your new cipher, or anything else that you may want.

Cheers

Ted
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: https server using openssl

2012-10-31 Thread Ted Byers
On Wed, Oct 31, 2012 at 12:31 PM, Indtiny s indt...@gmail.com wrote:
 Hi,

 Thanks for the suggestion , while browsing about openssl I came across this
 site http://www.rtfm.com/openssl-examples/

 which has  code for server which is based on the  openssl .

 Can I use that server code for my simple webserver application ..?

 Rgds
 Indra

I don't know how or if Boost's asio library interacts with openssl,
but if you want to develop your own server, you probably ought to
begin with Boost's asio library.  If I where going to write my own
server, that is what I would do (if I were writing it in C++ rather
than Perl).

   http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio.html

The site you referenced provides an example that is over a decade old.

The link I provide above it this year, with current examples for both
http servers and clients with and without using SSL.  Being a Boost
C++ library, it provides a solid base on which to build.  The license
basically lets you use all that code for whatever purpose you wish.
And, I am sure, once yu have studied it, and openssl, you'll be able
to extend it to use openssl if it does not presently use it, to add
capabilities that openssl provides that are not presently available in
asio (provided you have a good grasp of C++ templates and
inheritance).

Cheers

Ted
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: https server using openssl

2012-10-30 Thread Andrey Koltsov

Hi.

I think that you should write simple HTTP server first and add SSL 
support to it afterwards.



Best regards,

Andrey Koltsov
software developer


29.10.2012 20:49, Indtiny s пишет:


  Hi,
I have CCM chiper suite in the openssl and for some other requirement I have 
write my own simple webserver... Can somebody help me to develop simple openssl 
based webserver ..

I just need to support the POST operation at my server side
i.e , in my requirement , client will post the data to web server , here server 
should receive the data and provide the HTTP response as 201 to client .

How to start implementing this with the help of openssl ..?

Rgds
Indu


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


RE: https server using openssl

2012-10-30 Thread Charles Mills
Absolutely!

Charles

-Original Message-
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Andrey Koltsov
Sent: Tuesday, October 30, 2012 4:08 AM
To: openssl-users@openssl.org
Cc: Indtiny s
Subject: Re: https server using openssl

Hi.

I think that you should write simple HTTP server first and add SSL support
to it afterwards.


Best regards,

Andrey Koltsov
software developer


29.10.2012 20:49, Indtiny s пишет:

   Hi,
 I have CCM chiper suite in the openssl and for some other requirement I
have write my own simple webserver... Can somebody help me to develop simple
openssl based webserver ..

 I just need to support the POST operation at my server side
 i.e , in my requirement , client will post the data to web server , here
server should receive the data and provide the HTTP response as 201 to
client .

 How to start implementing this with the help of openssl ..?

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org