various clean up. Removed binary, added certs
This commit is contained in:
parent
d4c60e874c
commit
eb0f1bb897
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
Build Instructions
|
Build Instructions
|
||||||
------------------
|
------------------
|
||||||
Create self-signed certificates:
|
|
||||||
```bash
|
|
||||||
openssl req -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 365
|
|
||||||
```
|
|
||||||
|
|
||||||
Get the dependencies
|
Get the dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -74,7 +74,7 @@ func launchListener() {
|
||||||
go connectionTable.run()
|
go connectionTable.run()
|
||||||
http.HandleFunc("/", handlerServeContent)
|
http.HandleFunc("/", handlerServeContent)
|
||||||
|
|
||||||
err := http.ListenAndServeTLS(*argServerPort, "server.crt", "server.key", nil)
|
err := http.ListenAndServeTLS(*argServerPort, "certs/fullchain.pem", "certs/privkey.pem", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logfatal.Println("ListenAndServe: ", err)
|
logfatal.Println("ListenAndServe: ", err)
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue