https://github.com/hypery2k/cordova-certificate-plugin
cordova certificate helper util
https://github.com/hypery2k/cordova-certificate-plugin
Last synced: 6 months ago
JSON representation
cordova certificate helper util
- Host: GitHub
- URL: https://github.com/hypery2k/cordova-certificate-plugin
- Owner: hypery2k
- License: mit
- Created: 2014-05-26T14:26:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:39:29.000Z (over 1 year ago)
- Last Synced: 2024-04-27T09:13:23.463Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 34.2 KB
- Stars: 48
- Watchers: 7
- Forks: 29
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Certificate Plugin for Apache Cordova
[](https://travis-ci.org/hypery2k/cordova-certificate-plugin) [](http://badge.fury.io/js/cordova-plugin-certificates)[](https://www.bountysource.com/trackers/2596540-hypery2k-cordova-certificate-plugin?utm_source=2596540&utm_medium=shield&utm_campaign=TRACKER_BADGE)
> cordova Plugin to configure SSL Certificates, currently used to enable usage of untrusted aka self-signed SSL certifcates
[](https://nodei.co/npm/cordova-plugin-certificates/)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
```