7 Commits (main)

Author SHA1 Message Date
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 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 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