Re: Enabling https capability

2012-11-02 Thread Jakob Bohm

On 11/2/2012 3:06 PM, John A. Wallace wrote:




-Original Message-
From: owner-openssl-us...@openssl.org [mailto:owner-openssl-
us...@openssl.org] On Behalf Of Jakob Bohm
Sent: Thursday, November 01, 2012 12:25 PM
To: openssl-users@openssl.org
Subject: Re: Enabling https capability

(Note you really should have started a new thread, not replied to an
old one).

On 11/1/2012 5:00 PM, John A. Wallace wrote:

Not sure if this is the right place to ask, but I will give it a try
because it seems likely that someone here can point me in the right
direction if need be. I am not a programmer.

I have an application that can make http connections but not https.
The connections are made from a Windows command line interface, not a
browser. I would like to enable it to make https connections too
without having to reinvent the wheel. If there is some way to connect
it to an intermediary proxy program that does have built-in support
for the https protocol, that would be swell.  Is such a thing

possible

or is there another solution I don't see? Thanks.




If you don't want to link the SSL code into you application, look up
"stunnel", which is a free program (for Windows too) which does almost
exactly what you ask for.

If you would rather link the code into your application, you are in the
right place, this is exactly what OpenSSL was originally created for.
Link your application to the latest version of OpenSSL and follow the
tutorials elsewhere for how to call it in a https client (It is mostly
about passing all your socket send/recv calls through OpenSSL
functions, plus some slightly tricky code to call when doing
connect() and socketclose()).

If you have questions about any of the function calls needed, post on
this mailing list.


Jakob, hello.  In the procedures you mention are you referring to building
this program anew from source in a Linux environment? If so, what tools
would be needed to do something like that and where can I find a well-stated
"introduction" to this procedure in general? I would like to at least take a
look at it to see what is entailed. Thanks.


Linux? I thought you said Windows.

If you don't know how to rebuild your application on your chosen OS,
then you should probably not even try to do this kind of programming,
I was assuming you already had those skills and had probably written
the application yourself.

Go with stunnel then, it doesn't require you to know the inner
workings of the application and how to modify its code.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


RE: Enabling https capability

2012-11-02 Thread John A. Wallace


> -Original Message-
> From: owner-openssl-us...@openssl.org [mailto:owner-openssl-
> us...@openssl.org] On Behalf Of Jakob Bohm
> Sent: Thursday, November 01, 2012 12:25 PM
> To: openssl-users@openssl.org
> Subject: Re: Enabling https capability
> 
> (Note you really should have started a new thread, not replied to an
> old one).
> 
> On 11/1/2012 5:00 PM, John A. Wallace wrote:
> > Not sure if this is the right place to ask, but I will give it a try
> > because it seems likely that someone here can point me in the right
> > direction if need be. I am not a programmer.
> >
> > I have an application that can make http connections but not https.
> > The connections are made from a Windows command line interface, not a
> > browser. I would like to enable it to make https connections too
> > without having to reinvent the wheel. If there is some way to connect
> > it to an intermediary proxy program that does have built-in support
> > for the https protocol, that would be swell.  Is such a thing
> possible
> > or is there another solution I don't see? Thanks.
> >
> >
> 
> If you don't want to link the SSL code into you application, look up
> "stunnel", which is a free program (for Windows too) which does almost
> exactly what you ask for.
> 
> If you would rather link the code into your application, you are in the
> right place, this is exactly what OpenSSL was originally created for.
> Link your application to the latest version of OpenSSL and follow the
> tutorials elsewhere for how to call it in a https client (It is mostly
> about passing all your socket send/recv calls through OpenSSL
> functions, plus some slightly tricky code to call when doing
> connect() and socketclose()).
> 
> If you have questions about any of the function calls needed, post on
> this mailing list.

Jakob, hello.  In the procedures you mention are you referring to building
this program anew from source in a Linux environment? If so, what tools
would be needed to do something like that and where can I find a well-stated
"introduction" to this procedure in general? I would like to at least take a
look at it to see what is entailed. Thanks.

> 
> P.S.
> 
> If anyone could point the OP (and others as this seems a FAQ) to a good
> example of adding OpenSSL to existing socket code with current best
> practices, please post it as a reply in this thread.
> 


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


Re: Enabling https capability

2012-11-01 Thread Jakob Bohm
(Note you really should have started a new thread, not replied to an old 
one).


On 11/1/2012 5:00 PM, John A. Wallace wrote:

Not sure if this is the right place to ask, but I will give it a try because
it seems likely that someone here can point me in the right direction if
need be. I am not a programmer.

I have an application that can make http connections but not https. The
connections are made from a Windows command line interface, not a browser. I
would like to enable it to make https connections too without having to
reinvent the wheel. If there is some way to connect it to an intermediary
proxy program that does have built-in support for the https protocol, that
would be swell.  Is such a thing possible or is there another solution I
don't see? Thanks.




If you don't want to link the SSL code into you application, look up
"stunnel", which is a free program (for Windows too) which does almost
exactly what you ask for.

If you would rather link the code into your application, you are in
the right place, this is exactly what OpenSSL was originally created
for.  Link your application to the latest version of OpenSSL and
follow the tutorials elsewhere for how to call it in a https client
(It is mostly about passing all your socket send/recv calls through
OpenSSL functions, plus some slightly tricky code to call when doing
connect() and socketclose()).

If you have questions about any of the function calls needed, post on
this mailing list.

P.S.

If anyone could point the OP (and others as this seems a FAQ) to a good
example of adding OpenSSL to existing socket code with current best
practices, please post it as a reply in this thread.


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Enabling https capability

2012-11-01 Thread John A. Wallace
Not sure if this is the right place to ask, but I will give it a try because
it seems likely that someone here can point me in the right direction if
need be. I am not a programmer.

I have an application that can make http connections but not https. The
connections are made from a Windows command line interface, not a browser. I
would like to enable it to make https connections too without having to
reinvent the wheel. If there is some way to connect it to an intermediary
proxy program that does have built-in support for the https protocol, that
would be swell.  Is such a thing possible or is there another solution I
don't see? Thanks.

John



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