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
Size: 9
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This Docker image is used to test the Kanboard plugin SSL Client Certificate.
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