Been having problems with setting up of the above. Very upsetting. Well, the problem is more because we need it to use secure transport. We have set the WCF service up on our test server, and switched https on and made (what I think are) the correct changes to the config. I then created a test certificate and private key. These were a cer file and a pvk file which I had to perform some magic on to turn into a pfk file. We then put this on as the certificate on the website and also put the certificate on the handheld (which just in itself was a pain in the buttocks as it only wanted to accept the cer file). Anyway after a lot of messing about we still get denied.
The error I get is something along the lines of??Could not establish trust relationship for the SSL/TLS secure channel with authority
Most annoying. I have a feeling that this is because the test certificate we have is not a trusted certificate and when the handheld tries to make the connection it checks for this and falls over. I have tried overriding this check to no avail. In the full framework you can use other cheeky methods and get round this problem but there seems to be some important libraries missing on the compact framework.?
Anyway this isn't going to happen for this release now but I think it's something we need to do in the future. Of course it's possible I'm just going about it in completely the wrong way. grrrrr
Comments