File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ CertTools is a set of settings and tools for TLS Certificates.
7
7
It includes parsers for taking strings/config options and enabling minimum TLS versions and Cipher Suites.
8
8
It also includes some decent static defaults which can be used when creating a server.
9
9
```
10
+ import (
11
+ "github.com/snowzach/certtools"
12
+ )
13
+
10
14
server := &http.Server{
11
15
Addr: ":8443",
12
16
Handler: http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
@@ -24,3 +28,7 @@ server := &http.Server{
24
28
CertTools can be used to programatically generate POTENTIALLY INSECURE certificates that can be used for your web server.
25
29
It's horribly insecure and is designed basically for the situation where you don't want to mess with cert files, you want
26
30
to use tls/https and you don't want to have the cert be different every time you load your app.
31
+
32
+ [ GoDoc ] : https://godoc.org/github.com/snowzach/certtools
33
+ [ GoDoc Widget ] : https://godoc.org/github.com/snowzach/certtools?status.svg
34
+
You can’t perform that action at this time.
0 commit comments