gin/_examples/http2/README.md
Suhas Karanth c21039a284 chore: mv {examples ⮕ _examples}
Avoid pulling in any external example dependencies, when using go get.
Go tools ignore folders with names which start with `_`.
2017-10-23 15:10:09 +05:30

391 B

How to generate RSA private key and digital certificate

  1. Install Openssl

Please visit https://github.com/openssl/openssl to get pkg and install.

  1. Generate RSA private key
$ mkdir testdata
$ openssl genrsa -out ./testdata/server.key 2048
  1. Generate digital certificate
$ openssl req -new -x509 -key ./testdata/server.key -out ./testdata/server.pem -days 365