Skip to content

Commit

Permalink
chore: adjust default config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Nov 21, 2024
1 parent 3674dfe commit d27b2bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ export const config: TlsConfig = await loadConfig({
stateName: 'California',
localityName: 'Playa Vista',
commonName: 'stacks.localhost',
validityDays: 180,
validityDays: 825, // 2 years + 90 days
hostCertCN: 'stacks.localhost',
domain: 'stacks.localhost',
rootCAObject: { certificate: '', privateKey: '' },
caCertPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.ca.crt`),
certPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt`),
keyPath: path.join(os.homedir(), '.stacks', 'ssl', `stacks.localhost.crt.key`),
subjectAltNames: [{
type: 2,
value: 'stacks.localhost',
}],
verbose: false,
},
})

0 comments on commit d27b2bf

Please sign in to comment.