summaryrefslogtreecommitdiffhomepage
path: root/control/controlclient/sign_supported.go
diff options
context:
space:
mode:
Diffstat (limited to 'control/controlclient/sign_supported.go')
-rw-r--r--control/controlclient/sign_supported.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/control/controlclient/sign_supported.go b/control/controlclient/sign_supported.go
index a5d42ad7d..8a94b678a 100644
--- a/control/controlclient/sign_supported.go
+++ b/control/controlclient/sign_supported.go
@@ -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
}