Hi,
WinMobileNewMan said:
Based on your instruction i created a self signing certificate and used
that
to sign the dll. Then included the dll during runtime. The message still
appears (for the first time only after each recompilation) .
As a first step have you tried using the sample certificates included within
the Windows Mobile SDKs? Using these will help eliminate the process you
have used to create your certificate as the potential source of your
problem.
Since Windows Mobile devices will not ship with the required client side
certificates to trust your self signed certificates (or the Microsoft sample
ones) you need to install a certificate into the certificate store of your
Windows Mobile device in order for the PDA to accept executables signed with
the matching certificate.
For example with the Windows Mobile 5.0 Pocket PC SDK you probably have a
cab file called sdkcerts.cab located within the C:\Program Files\Windows CE
Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Tools folder. Installing this
CAB file onto a PDA will install the required device side certificates in
order for the OS to accept executables signed with the various certifcates
located within the same folder.
See for example the step by step guide available in the "Windows Mobile 5.0
Application Security" article on MSDN underneath the "Signing an Application
During Day-to-Day Development" section -
http://msdn2.microsoft.com/en-us/library/ms839681.aspx
One common mistake made when initially signing executables is forgetting to
sign one of the application components. You need to sign your main
executable, any *.dll files it loads and the *.cab file itself (if you are
deploying your applications in that manor).
Hope this helps,
Christopher Fairbairn