various clean up. Removed binary, added certs

This commit is contained in:
Henry Camacho 2017-02-02 17:06:29 -06:00
parent d4c60e874c
commit eb0f1bb897
3 changed files with 1 additions and 6 deletions

0
.gitignore vendored Normal file
View File

View File

@ -2,11 +2,6 @@
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
```bash

View File

@ -74,7 +74,7 @@ func launchListener() {
go connectionTable.run()
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 {
logfatal.Println("ListenAndServe: ", err)
panic(err)