Combine ca, cert, and key handling (#952)

This commit is contained in:
Nate Brown 2023-08-14 21:32:40 -05:00 committed by GitHub
parent 223cc6e660
commit 5a131b2975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 381 additions and 294 deletions

View file

@ -161,7 +161,7 @@ func (c *Control) GetHostmap() *HostMap {
}
func (c *Control) GetCert() *cert.NebulaCertificate {
return c.f.certState.Load().certificate
return c.f.pki.GetCertState().Certificate
}
func (c *Control) ReHandshake(vpnIp iputil.VpnIp) {