An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

selfsigned
==========

[![Download](https://jitpack.io/v/onehilltech/selfsigned.svg)](https://jitpack.io/#onehilltech/selfsigned)
[![Build Status](https://travis-ci.org/onehilltech/selfsigned.svg)](https://travis-ci.org/onehilltech/selfsigned)
[![codecov](https://codecov.io/gh/onehilltech/selfsigned/branch/master/graph/badge.svg)](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)