Using the HTTPS Proxy Exposed by the PhoneGap Plugin

PhoneGap JavaScript application users that want to send an AJAX request to a HTTPS server, where the embedded browser does not support SSL, can use the HTTPS proxy exposed by the PhoneGap plugin.

The HTTPS proxy supports both HTTP and HTTPS connections. HTTPS connections are supported for both server side certificate validation and client side certificate, or either, or none. A keystore/certificate from either system, file, or Afaria is loaded when first required. Compared to the lifecycle of certificates, the lifecycle of certificates in memory is very short. The user cannot refresh newly loaded keystores/certificates. If a new certificate is added or updated, you must restart the application to include it.