Update README.md for the Go backend
This commit is contained in:
parent
d0e41cc9a9
commit
3503e09212
1 changed files with 14 additions and 3 deletions
17
README.md
17
README.md
|
@ -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
|
||||
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
|
||||
|
||||
1. Clone the repository
|
||||
|
@ -21,13 +24,21 @@ using [node-forge](https://github.com/digitalbazaar/forge).
|
|||
gulp
|
||||
```
|
||||
|
||||
3. Run a Python web server with the generated resources
|
||||
2. Setup the example CA and a server certificate and key
|
||||
|
||||
```
|
||||
python3 -m http.server -d public
|
||||
./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
|
||||
```
|
||||
|
||||
Open http://localhost:8000/ in your browser.
|
||||
3. Run the Go based backend
|
||||
|
||||
```
|
||||
go run main.go
|
||||
```
|
||||
|
||||
Open https://localhost:8000/ in your browser.
|
||||
|
||||
4. Run gulp watch
|
||||
|
||||
|
|
Loading…
Reference in a new issue