Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » https - how to?
Re: https - how to? [message #9187 is a reply to message #7937] Fri, 20 April 2007 10:37 Go to previous messageGo to previous message
WebChaot is currently offline  WebChaot
Messages: 53
Registered: September 2006
Location: Austria, Vienna
Member
>>> PS: If you have any problems just let me know

Thanks - now I have some Smile

>>> I am sorry, but it seems like OpenSSL is NOT included in Upp.

I downloaded openssl. First I got an linker error (file not found: libout32/xy.a) - but then I copied the *.a files to new mingw-dir libout32 and it works.

Then I put the code of your xmlrpc into my program (because I do not know, how to do all that stuff):

--------------------------------
if(usessl)
{
if(sslcontext.IsEmpty())
{
SSL_METHOD *meth=TLSv1_client_method();
sslcontext.Create(meth);
sslcontext.VerifyPeer(false);
}

if(!SSLClientSocket(http.socket,sslcontext,http.host,http.po rt))
{
PromptOK("No SSL");
return;
}

MyResult = http.Execute();
--------------------------------

1. What I get, when I download an URL (https://...) is only a "No SSL" which still results from SSLClientSocket. Is there any way to check, whats wrong now?

And how does it work? When I disable usessl, but connect to an "https"-site, I get a response. Will I have to parse URL for the "s" by code to check, if I have to "usessl"?

First I want to get any response from a https-site. Then I will continue to play around with certificates.

2. I tried to get content of an local webserver via http://192.168.x.y (without ssl) and the program hang up. Does it not work with ip-adresses?

3. After first run I got an error message because of missing msvcr71.dll. I downloaded it and copied to windows dir. As I read its a c-runtime-library. I thought, when I have all openssl-sources I would not need any extra dll. Is there a way to include openssl without a dll (because I only want one exe-file, if possible)?


WebChaot

PS: We could talk in german too - but this forum is international - greetings from Vienna Smile

[Updated on: Fri, 20 April 2007 11:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SlaveProcess and working directory
Next Topic: MT assertion failed in IsST()
Goto Forum:
  


Current Time: Mon May 13 13:22:35 CEST 2024

Total time taken to generate the page: 0.02481 seconds