Update README.md for the Go backend

main
Jan Dittberner 4 years ago
parent d0e41cc9a9
commit 3503e09212

@ -4,6 +4,9 @@ This repository contains a small proof of concept implementation of browser
based PKCS#10 certificate signing request and PKCS#12 key store generation based PKCS#10 certificate signing request and PKCS#12 key store generation
using [node-forge](https://github.com/digitalbazaar/forge). using [node-forge](https://github.com/digitalbazaar/forge).
The backend is implemented in [Go](https://golang.org/) and utilizes openssl
for the signing operations.
## Running ## Running
1. Clone the repository 1. Clone the repository
@ -21,13 +24,21 @@ using [node-forge](https://github.com/digitalbazaar/forge).
gulp gulp
``` ```
3. Run a Python web server with the generated resources 2. Setup the example CA and a server certificate and key
```
./setup_example_ca.sh
openssl req -new -x509 -days 365 -subj "/CN=localhost" -addext subjectAltName=DNS:localhost -newkey rsa:3072 \
-nodes -out server.crt.pem -keyout server.key.pem
```
3. Run the Go based backend
``` ```
python3 -m http.server -d public go run main.go
``` ```
Open http://localhost:8000/ in your browser. Open https://localhost:8000/ in your browser.
4. Run gulp watch 4. Run gulp watch

Loading…
Cancel
Save