Add command to generate a TLS cert via Go

This commit is contained in:
James Skemp 2023-06-14 17:29:51 -05:00
parent 294efdcad4
commit d0b028f1c7
1 changed files with 6 additions and 0 deletions

View File

@ -53,3 +53,9 @@ go work init ./hello
# Add a child module directory to the workspace.
go work use ./example
```
## Utilities
```powershell
# Generate a TLS/SSL cert. Get GOPATH from `go env`.
go run 'C:\Program Files\Go\src\crypto\tls\generate_cert.go' --rsa-bits=2048 --host=localhost
```