Version: v1.3.0 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 5 Imported by: 0


How to generate RSA private key and digital certificate

  1. Install Openssl

Please visit 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


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL