20 Commits (e485abeceda0ac94be326459a862debd4b8cd8de)
 

Author SHA1 Message Date
Jan Dittberner e485abeced Setup more CAB forum compliant CA structure 2 years ago
Jan Dittberner e67dc820cf WIP: migrations 2 years ago
Jan Dittberner b57c01b3c4 WIP: migrations 2 years ago
Jan Dittberner bd54c060b9 Update instructions for user installation 2 years ago
Jan Dittberner 5f60c08ff4 Update dependency 3 years ago
Jan Dittberner 56bee5e917 Tidy dependencies 3 years ago
Jan Dittberner 743b8e6853 Implement CSR validation
This commit adds CSR validation and generation of a baseline requirements
compatible request token instead of a UUID.

Logging has been configured to use timestamps.
3 years ago
Jan Dittberner 2093bf2429 Decouple request and response via WebSocket 3 years ago
Jan Dittberner 08be6e68bc Move handlers into separate package 3 years ago
Jan Dittberner b748050de3 Add CA chain to download, improve UI 3 years ago
Jan Dittberner 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.
3 years ago
Jan Dittberner 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.
3 years ago
Jan Dittberner e13c9d174b Implement i18n support
This commit adds internationalization support and a german translation.
3 years ago
Jan Dittberner 3503e09212 Update README.md for the Go backend 3 years ago
Jan Dittberner d0e41cc9a9 Add PKCS#12 creation 3 years ago
Jan Dittberner 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.
3 years ago
Jan Dittberner c751c51713 Add missing parentheses 3 years ago
Jan Dittberner 006c93c66c Update package-lock.json, use UTF8 for common name 3 years ago
Jan Dittberner c443a83c11 Add GPL-2 license text 3 years ago
Jan Dittberner 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.
3 years ago