Add command to generate a TLS cert via Go
This commit is contained in:
parent
294efdcad4
commit
d0b028f1c7
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue