Discover Packages
github.com/SPO-Next/spo
src
util
cert
package
Version:
v0.0.0-...-9802667
Opens a new window with list of versions in this module.
Published: May 27, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
CreateCertIfNotExists(host, certFile, keyFile, appName)
GenerateCert(certFile, keyFile, host, organization, rsaBits, isCA, validFrom, validFor)
Types
Source Files
Documentation
Documentation
¶
CreateCertIfNotExists verifies that certFile and keyFile exist and are files, and
if neither certFile nor keyFile exist, they are automatically created for host
GenerateCert generates a self-signed X.509 certificate for a TLS server. Outputs to
certFile and keyFile and will overwrite existing files.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.