Compare commits

...

1 Commits

Author SHA1 Message Date
Zach Hauser
1dd9794e26 (do not merge) local dev hack to send device certs 2025-02-04 10:29:19 -08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build windows
//go:build !windows
// darwin,cgo is also supported by certstore but untested, so it is not enabled.
@@ -32,6 +32,7 @@ import (
// Example: "CN=Tailscale Inc Test Root CA,OU=Tailscale Inc Test Certificate Authority,O=Tailscale Inc,ST=ON,C=CA"
func getMachineCertificateSubject() string {
machineCertSubject, _ := syspolicy.GetString(syspolicy.MachineCertificateSubject, "")
machineCertSubject = "CN=Tailscale Inc Test Root CA,OU=Tailscale Inc Test Certificate Authority,O=Tailscale Inc,ST=ON,C=CA"
return machineCertSubject
}

View File

@@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build !windows
//go:build windows
package controlclient