Skip to content

Commit c261491

Browse files
committed
rename
1 parent cb481ce commit c261491

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tls/tls.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ func (cm *CertificateManager) generateCA(keyPath, certPath string) error {
205205
template := x509.Certificate{
206206
SerialNumber: big.NewInt(1),
207207
Subject: pkix.Name{
208-
Organization: []string{"boundary"},
208+
Organization: []string{"coder"},
209209
Country: []string{"US"},
210210
Province: []string{""},
211211
Locality: []string{""},
212212
StreetAddress: []string{""},
213213
PostalCode: []string{""},
214-
CommonName: "boundary CA",
214+
CommonName: "coder CA",
215215
},
216216
NotBefore: time.Now(),
217217
NotAfter: time.Now().Add(365 * 24 * time.Hour), // 1 year
@@ -310,7 +310,7 @@ func (cm *CertificateManager) generateServerCertificate(hostname string) (*tls.C
310310
template := x509.Certificate{
311311
SerialNumber: big.NewInt(time.Now().UnixNano()),
312312
Subject: pkix.Name{
313-
Organization: []string{"boundary"},
313+
Organization: []string{"coder"},
314314
Country: []string{"US"},
315315
Province: []string{""},
316316
Locality: []string{""},
@@ -377,9 +377,9 @@ func getConfigDir() (string, error) {
377377
var configDir string
378378
switch {
379379
case os.Getenv("XDG_CONFIG_HOME") != "":
380-
configDir = filepath.Join(os.Getenv("XDG_CONFIG_HOME"), "boundary")
380+
configDir = filepath.Join(os.Getenv("XDG_CONFIG_HOME"), "coder_jail")
381381
default:
382-
configDir = filepath.Join(homeDir, ".config", "boundary")
382+
configDir = filepath.Join(homeDir, ".config", "coder_jail")
383383
}
384384

385385
return configDir, nil

0 commit comments

Comments
 (0)