Access to API with http instead of https?

Access to API with http instead of https?

in API Development

Posted by: Daze.6914

Daze.6914

Q:

Hello,

I would like make my app (GW2 WvW) available to Windows Phone 7 devices as well as Windows Phone 8 one (no problem with these) but I can’t since there’s is an issue with the security certificate of guildwars2.com thus not giving access to the API.

For more details see topic:
https://forum-en.gw2archive.eu/forum/support/forum/Can-t-access-to-guildwars2-com-from-WP7-8

Would it be feasible to allow access to the API with http to avoid this issue with WP7 devices (I’d really like to be able to use my own app on my phone)?

Thanks.

War Inc. Community [WIC]
Far Shiverpeaks
GW2 WvW - GW2 Gem Price

Access to API with http instead of https?

in API Development

Posted by: Healix.5819

Healix.5819

A:

http://www.startssl.com/certs/ca.cer

Simply open it on the phone and install.

Access to API with http instead of https?

in API Development

Posted by: zeeZ.5713

zeeZ.5713

Access to API with http instead of https?

in API Development

Posted by: Healix.5819

Healix.5819

You will need to manually install the certificate.

Access to API with http instead of https?

in API Development

Posted by: Heimdall.4510

Heimdall.4510

have you tried to handle the https via the wininet.h? I think this should solve your issues. In case you don’t want to implement any new functions you could use the dll I’ve already created to handle https for my haskell functions. You can get the dll from the GW2API C/C++ project. If this doesn’t help either i would suggest to write your own tls dll which handles the tls handshake and communication.

~ Heimdall
Die Vollenstrecker [VS] – Elona Reach [DE]
https://gw2apicpp.codeplex.com – Gw2API C/C++ Project

Access to API with http instead of https?

in API Development

Posted by: Daze.6914

Daze.6914

@Healix
If you know how to install a certificate on a WP7 please share the knowledge.
@Heimdall
Window Phone doesn’t support unmanaged code.

War Inc. Community [WIC]
Far Shiverpeaks
GW2 WvW - GW2 Gem Price

Access to API with http instead of https?

in API Development

Posted by: Heimdall.4510

Heimdall.4510

Yeah I do know that but I also know that it is possible to mix c/c++ libraries with windows rt you just have to recompile it against c++11/cli and link it to your project

~ Heimdall
Die Vollenstrecker [VS] – Elona Reach [DE]
https://gw2apicpp.codeplex.com – Gw2API C/C++ Project

Access to API with http instead of https?

in API Development

Posted by: Daze.6914

Daze.6914

Healix, you made my day! A huge thank you.

War Inc. Community [WIC]
Far Shiverpeaks
GW2 WvW - GW2 Gem Price