[PD1] Added certificates and fixed a few things
This commit is contained in:
parent
b7023329de
commit
1cb81d2279
28 changed files with 596 additions and 54 deletions
|
@ -41,7 +41,7 @@ func Run(port int) {
|
|||
|
||||
//Read server keystore
|
||||
password := AskServerPassword()
|
||||
serverKeyStore := cryptoUtils.LoadKeyStore("certs/serverdata.p12",password)
|
||||
serverKeyStore := cryptoUtils.LoadKeyStore("certs/server/server.p12",password)
|
||||
|
||||
//Create server listener
|
||||
server := networking.NewServer[protocol.Packet](&serverKeyStore,port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue