-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9cb045
commit 030a8b7
Showing
5 changed files
with
221 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ | |
}, | ||
"files": [ | ||
"dist", | ||
"scripts", | ||
"src" | ||
], | ||
"scripts": { | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { generateAndSaveCertificates, generateRootCA } from '../src/keys' | ||
import { addRootCA, generateAndSaveCertificates, generateRootCA } from '../src/keys' | ||
|
||
// Generate a root key and certificate (self-signed) | ||
generateRootCA() | ||
await generateRootCA() | ||
|
||
// Generate a keypair and create an X.509v3 certificate for the domain | ||
generateAndSaveCertificates() | ||
await generateAndSaveCertificates() | ||
|
||
await addRootCAToSystemTrust() |
Oops, something went wrong.