package
0.0.0-20250824142259-8705b4cd3964
Repository: https://github.com/gin-gonic/examples.git
Documentation: pkg.go.dev

# README

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