One example of how to get
https or http is simply in the code of ocsp.c in the apps
directory.
The apps/ocsp.c code initialized optionally a normal or ssl
connection. Then you just send your http data stream into
it.
if you want to add proxy support for ssl: Use the proxy host
instaed, and add a SSL_do_connect before adding the
sbio, and then send a "CONNECT host:port HTTP/1.0" and read
the answer until a double new line, then push the sbio and
do the handshake as is.
> wwwlib examples don't work with https, all i found was this:
> http://www.w3.org/Library/src/SSL/WWWSSL.html
> ( Because US regulations on encryption .. )
>
>
> i'd be really happy if someone just told me how to fix OpenSSL demos/bio
> example:
>
> cc -I../../include sconnect.c -L../.. -lssl -lcrypto
>
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
> dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'
> dso_dlfcn.o(.text+0xa8): undefined reference to `dlopen'
> dso_dlfcn.o(.text+0xfd): undefined reference to `dlclose'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
> dso_dlfcn.o(.text+0x1a3): undefined reference to `dlsym'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
> dso_dlfcn.o(.text+0x253): undefined reference to `dlsym'
> ../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
> dso_dlfcn.o(.text+0x332): undefined reference to `dlclose'
>
> > > i'd like to know how to do GET / POST requests over HTTPS.
> > >
> > > there's some demos/bio example,
> > > but doesn't compile on Linux.
> > >
>
>
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]