You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhongjin eacb95c18a
Initial commit
6 years ago
..
src Initial commit 6 years ago
www Initial commit 6 years ago
LICENSE Initial commit 6 years ago
README.md Initial commit 6 years ago
package.json Initial commit 6 years ago
plugin.xml Initial commit 6 years ago
runIntegrationTests.sh Initial commit 6 years ago

README.md

Certificate Plugin for Apache Cordova

Build Status npm versionBountysource

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

NPM

Feel free to donate

Click here to lend your support to: Owncloud Apps and make a donation at www.pledgie.com !

Documentation

Install

cordova plugin add cordova-plugin-certificates

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

cordova plugin add cordova-plugin-certificates@0.5.0

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