|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| testdata | %!s(int64=8) %!d(string=hai) anos | |
| README.md | %!s(int64=8) %!d(string=hai) anos | |
| main.go | %!s(int64=7) %!d(string=hai) anos | |
Please visit https://github.com/openssl/openssl to get pkg and install.
$ mkdir testdata
$ openssl genrsa -out ./testdata/server.key 2048
$ openssl req -new -x509 -key ./testdata/server.key -out ./testdata/server.pem -days 365