diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index 86d5f1e..b82a017 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vpn-server.go b/vpn-server.go index 43bae8d..789f16d 100755 --- a/vpn-server.go +++ b/vpn-server.go @@ -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)