kanboard/docker-apache-client-certificate

Name: docker-apache-client-certificate

Owner: Kanboard

Description: Docker image with Apache SSL client certificate pre-configured

Created: 2016-03-13 22:32:04.0

Updated: 2017-07-30 07:27:51.0

Pushed: 2016-03-13 22:40:07.0

Homepage:

Size: 9

Language: Makefile

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Docker image to test Apache SSL Client Certificate

This Docker image is used to test the Kanboard plugin SSL Client Certificate.

Create SSL certificates

CA and Server SSL certificate:

nerate self-signed certificate CA
ssl req -config ./openssl.cnf -newkey rsa:2048 -nodes \
form PEM -keyout ca.key -x509 -days 3650 -extensions certauth -outform PEM -out ca.cer

nerate private server key
ssl genrsa -out server.key 2048

nerate CSR
e hostname for CommonName
ssl req -config ./openssl.cnf -new -key server.key -out server.req

sue server certificate
ssl x509 -req -in server.req -CA ca.cer -CAkey ca.key \
_serial 100 -extfile openssl.cnf -extensions server -days 365 -outform PEM -out server.cer

f server.req

Client SSL certificate:

ivate key for client
ssl genrsa -out client.key 2048

nerate client CSR
t the username as CommonName and the user email address
ssl req -config ./openssl.cnf -new -key client.key -out client.req

sue client certificate
ssl x509 -req -in client.req -CA ca.cer -CAkey ca.key \
_serial 101 -extfile openssl.cnf -extensions client -days 365 -outform PEM -out client.cer

port client certificate
ssl pkcs12 -export -inkey client.key -in client.cer -out client.p12

f client.key client.cer client.req

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.