• Stars
    star
    163
  • Rank 231,141 (Top 5 %)
  • Language
    Java
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Example Android project using HTTPS/SSL with client certificates and self-signed server certificate

android-ssl

An example Android project using HTTPS/SSL with client certificates and self-signed server certificate.

Note: To successfully run this application, you will need to do the following things:

  1. Have or set up an HTTPS server with a self-signed SSL certificate

  2. Generate a client certificate (.p12 file) and sign it with the server's private (CA) key

  3. Export the server's certificate chain as a .pem file, and replace this project's /assets/master-cacert.pem with that file. Be sure to keep the name the same.

  4. Copy the client certificate to the root directory of your phone or emulator's sdcard as client-cert.p12

  5. Update this project's /res/values/strings.xml file - change the value of example_url to point to your server. The default value is https://www.google.com - this will work, but doesn't really test this code, as Google's SSL cert is trusted, and Google doesn't require a client certificate.

More Repositories

1

tour-of-heros-api-security-zerhusen

Angular JS Typescript Code to accompany the blog post "Integrating Angular 2 with Spring Boot, JWT, and CORS"
Java
22
star
2

angular-configuration-service

Example of retrieving remote configuration for an Angular 5 application
TypeScript
18
star
3

android-constrained-drag-and-drop-view

An Android View that coordinates drag and drop, and constrains the drag to it's own boundaries
Java
12
star
4

Export-Photoshop-Layer-For-Android

A JavaScript for Adobe Photoshop that exports the selected layer to png files suitable for use as Android Drawables
JavaScript
11
star
5

android-screencapture

A Groovy script to take screenshots of an Android device
Groovy
7
star
6

angular-tour-of-heroes-complete

Completed version of Angular's Tour of Heroes tutorial
JavaScript
4
star
7

spock-integration-controller-spec

A Spock IntegrationSpec for Grails Controllers, with transaction rollback
Groovy
3
star
8

android-websocket-test

A simple Android project to try out websockets with the Autobahn websocket library and the ws://echo.websocket.org Echo Server
Java
2
star
9

tour-of-heroes-jwt-full

Example of Angular and Spring Boot with JWT Security
Java
2
star
10

CCRuleEngine

Prototype Rule Engine for CareCam Android App
Java
1
star
11

angular-dynamic-components

Example of dynamically creating Components in Angular 4+
TypeScript
1
star
12

miax-monitor-server

JavaScript
1
star
13

navjump

A Navigation Address Book for Android
Java
1
star
14

miax-simulator

Java
1
star
15

griffon-jfreechart

A JFreeChart TimeSeries example in Groovy/Griffon
Groovy
1
star
16

rfreedman.github.com

1
star
17

realtime-charting-test

A test of realtime charting with Bayeux and smoothie charts
1
star
18

RowEntry

A jQuery DataTables plug-in for adding and deleting rows
1
star
19

intellij-rubber-duck-plugin

An IntelliJ plugin to help with Rubber Duck Debugging
Java
1
star
20

notes

Wiki for my personal notes
1
star
21

chariot-griffon-presentation

Presentation about Griffon (with code) for Chariot Day 2012
JavaScript
1
star
22

miax-stats-client

Groovy
1
star
23

js-table-rendering-test

test speed of rendering large-ish tables with various javascript grids
1
star