https://github.com/onehilltech/selfsigned
A simple library for supporting self-signed certificates in Java
https://github.com/onehilltech/selfsigned
Last synced: about 1 month ago
JSON representation
A simple library for supporting self-signed certificates in Java
- Host: GitHub
- URL: https://github.com/onehilltech/selfsigned
- Owner: onehilltech
- License: other
- Created: 2016-07-20T01:33:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T17:58:51.000Z (over 8 years ago)
- Last Synced: 2025-01-26T19:44:09.484Z (3 months ago)
- Language: Java
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
selfsigned
==========[](https://jitpack.io/#onehilltech/selfsigned)
[](https://travis-ci.org/onehilltech/selfsigned)
[](https://codecov.io/gh/onehilltech/selfsigned)A simple library for supporting self-signed certificates in Java
* Integrate with services that use **self-signed certificates**.
* **Preserve** existing security measures on the client.
* Ideal for **prototyping and testing** using secure protocols.**NOTE.** We strongly recommend that you purchase a certificate from a trusted authority
when you move to production.## Installation
#### Gradle
```
buildscript {
repositories {
maven { url "https://jitpack.io" }
}
}dependencies {
compile com.github.onehilltech.selfsigned:x.y.z
}
```## Getting Started
Initialize the default hostname verifier with a set of hostnames that
you trust.```java
SelfSigned.getDefaultHostnameVerifier ().add ("10.0.2.2");
```### Android
* See [android-selfsigned](https://github.com/onehilltech/android-selfsigned)