Commit graph

12 commits

Author SHA1 Message Date
08be6e68bc Move handlers into separate package 2020-12-12 07:26:26 +01:00
b748050de3 Add CA chain to download, improve UI 2020-12-11 22:05:27 +01:00
a960a60ecd Improve example CA setup
The example CA now has more realistic 2 levels with a root CA and a sub CA.

Setup script and ca.cnf has been changed to create a root CA and a sub CA
that is signed by the root CA. The sub CA is used for signing the end entity
certificates. Example CA directory has been changed to example_ca for better
readability.
2020-12-05 19:48:34 +01:00
1f8c44689e Implement CSRF protection
This commit adds CSRF protection based on the gorilla/csrf package.

Node dependencies have been updated.

Logging uses sirupsen/logrus for log level support now.
2020-12-05 19:46:15 +01:00
e13c9d174b Implement i18n support
This commit adds internationalization support and a german translation.
2020-12-05 00:21:18 +01:00
3503e09212 Update README.md for the Go backend 2020-11-30 00:56:44 +01:00
d0e41cc9a9 Add PKCS#12 creation 2020-11-30 00:45:57 +01:00
5c3f0ea942 Add signer backend
This commit adds a simple go backend calling openssl ca to sign CRS
coming from the client. The JavaScript code in src/index.html has been
extended to send requests to the sign endpoint and display the resulting
certificate in a separate div element.

A script setup_example_ca.sh and an openssl configuration file ca.cnf
has been added to allow quick setup of a simple example CA.
2020-11-30 00:22:43 +01:00
c751c51713 Add missing parentheses 2020-11-30 00:11:18 +01:00
006c93c66c Update package-lock.json, use UTF8 for common name 2020-11-22 20:56:03 +01:00
c443a83c11 Add GPL-2 license text 2020-11-22 11:47:19 +01:00
564c1bd76b Add initial implementation
This commit implements a basic static HTML page that uses Bootstrap 4
for layout and node-forge to generate a RSA key pair and a certificate
signing request. The subject of the CSR and the key size can be chosen
by the user.

The implementation uses gulp to collect static assets and to allow
bootstrap customization.
2020-11-22 11:42:18 +01:00