cordova-certificate-plugin

cordova certificate helper util

MIT License

Downloads
566
Stars
48
Committers
4

Certificate Plugin for Apache Cordova

cordova Plugin to configure SSL Certificates, currently used to enable usage of untrusted aka self-signed SSL certifcates

Feel free to donate

Documentation

Install

cordova plugin add cordova-plugin-certificates

For Cordova-Android before 4.1.0 you need to install this version

cordova plugin add [email protected]

Usage

Activate insecure certificates

cordova.plugins.certificates.trustUnsecureCerts(true)

Dectivate insecure certificates

cordova.plugins.certificates.trustUnsecureCerts(false)

Development

Running integration tests

execute the runIntegrationTests.sh script for a specific platform:

PLATFORM='android' ./runIntegrationTests.sh
PLATFORM='ios' ./runIntegrationTests.sh