@@ -205,13 +205,13 @@ func (cm *CertificateManager) generateCA(keyPath, certPath string) error {
205
205
template := x509.Certificate {
206
206
SerialNumber : big .NewInt (1 ),
207
207
Subject : pkix.Name {
208
- Organization : []string {"boundary " },
208
+ Organization : []string {"coder " },
209
209
Country : []string {"US" },
210
210
Province : []string {"" },
211
211
Locality : []string {"" },
212
212
StreetAddress : []string {"" },
213
213
PostalCode : []string {"" },
214
- CommonName : "boundary CA" ,
214
+ CommonName : "coder CA" ,
215
215
},
216
216
NotBefore : time .Now (),
217
217
NotAfter : time .Now ().Add (365 * 24 * time .Hour ), // 1 year
@@ -310,7 +310,7 @@ func (cm *CertificateManager) generateServerCertificate(hostname string) (*tls.C
310
310
template := x509.Certificate {
311
311
SerialNumber : big .NewInt (time .Now ().UnixNano ()),
312
312
Subject : pkix.Name {
313
- Organization : []string {"boundary " },
313
+ Organization : []string {"coder " },
314
314
Country : []string {"US" },
315
315
Province : []string {"" },
316
316
Locality : []string {"" },
@@ -377,9 +377,9 @@ func getConfigDir() (string, error) {
377
377
var configDir string
378
378
switch {
379
379
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 " )
381
381
default :
382
- configDir = filepath .Join (homeDir , ".config" , "boundary " )
382
+ configDir = filepath .Join (homeDir , ".config" , "coder_jail " )
383
383
}
384
384
385
385
return configDir , nil
0 commit comments