Dear Ravi,
Ok, good if you succeeded to compile.

Now, it seems that you have more applicative bugs, and it is difficult to answer more without having a better understanding of what your app is supposed to do on a WCE smartphone.

At least I have some questions :
how did you get your "client" certificate : has it been generated by some openssl CA, your own CA, a real CA ?
for which purpose : authentication ? code signing ?

I am not myself building app with openssl lib, EXCEPT the stunnel application that I ported to WCE, so my knowledge of the openssl lib services is very limited. Most of the time I am using command line tools of openssl for basic CA management on a linux server.

That said, I suggest that you check that page :
https://www.openssl.org/docs/ssl/SSL_CTX_use_certificate.html

and in general "certificate store in openssl", and how to load cert in openssl CTX.

The following page is also interesting, although it relates on how openssl (through capi) can get access to MS Windows cert store :
http://openssl.6102.n7.nabble.com/Using-Windows-certificate-store-through-OpenSSL-td46788.html

But....you need then to be able to put a cert in the MS store :
On standard WCE 5, it is just ...impossible, unless you are using this tool :

http://www.jacco2.dds.nl/networking/p12imprt.html

But on WM6 there is an embedded tool for that.

And then, of course, you have to learn how openssl lib can get access to this (see capi support link above).

Well, ok, I have to confess that I cannot say more without understanding what "clientcheck" relates to in your app... Is it a data file ? a cert file ? a dll file ? an exe tool of yours (cleint app) ?

Did you install properly the openssl dll in your app PATH on the emulator ?

Other question : why developing a particular client app ?

Other question : if you already have a NON-SSL client app, that you want to SSL-enable, I really suggest that you have a look at STUNNEL (and my WCE stunnel port):
it is ok for anything TCP based .

Yours sincerely
Pierre Delaage


Le 16/05/2014 12:26, RaviVyas a écrit :
Thanx for your reply,
mr.pierre delaage

-> i am install EVEC4 and evc4 PS4, WCE 420 SDK and openSSL source.

-> i was also set path variables and i have thoroughly knowledge about c/c++
socket ,ip.

->now, how i will test your lib?
[1] i copied  lib(libeay32.lib and  ssleay32.lib) in my project root and
gave path also gave lib name in my project.
[2] now my code was complied  successfully. now i copied my .exe in
emulator's sd card and when i am run that exe it wasn't work and gave an
error like this "the file 'clientcheck(project name)' cannot be
opened.either it is not sigbed with trusted certificate,or one of its
components cannot be found .if the problem persists ,try reinstalling or
restoring this file."

->next thing is that i did not know where to put certificate.?

Thank you
ravi vyas



--
View this message in context: 
http://openssl.6102.n7.nabble.com/BUILD-OPENSSL-in-WIN-CE-6-0-tp50152p50175.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org


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

Reply via email to