Skip to content
Snippets Groups Projects
Commit f7d612d2 authored by Jonah Husson's avatar Jonah Husson
Browse files

Add public key to pc in StartCommServer

parent 8ad69d5a
No related branches found
No related tags found
3 merge requests!39Merge release into master,!34Update to use modified client, add params for relevant options, enable use of tls with web conn,!32Project/channels
...@@ -176,6 +176,9 @@ listen: ...@@ -176,6 +176,9 @@ listen:
return nil, errors.Errorf("Could not set private key: %+v", err) return nil, errors.Errorf("Could not set private key: %+v", err)
} }
// Set the public key data
pc.pubKeyPem = certPEMblock
// Create the gRPC server with TLS // Create the gRPC server with TLS
jww.INFO.Printf("Starting server with TLS...") jww.INFO.Printf("Starting server with TLS...")
creds := credentials.NewServerTLSFromCert(&x509cert) creds := credentials.NewServerTLSFromCert(&x509cert)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment