We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2a1f0 commit 7489b43Copy full SHA for 7489b43
cli/certificates/main.go
@@ -120,6 +120,14 @@ func main() {
120
pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
121
certOut.Close()
122
fmt.Println("OK")
123
+
124
+ // Remove ca.key.pem
125
+ fmt.Print("Remove ca.key.pem... ")
126
+ err = os.Remove("ca.key.pem")
127
+ if err != nil {
128
+ log.Fatal(err)
129
+ }
130
+ fmt.Println("OK")
131
}
132
133
func generateKey(ecdsaCurve string) (interface{}, error) {
design/design.go
@@ -54,4 +54,5 @@ var _ = Resource("public", func() {
54
Files("swagger.json", "swagger/swagger.json")
55
Files("docs", "templates/docs.html")
56
Files("debug", "templates/debug.html")
57
+ Files("ca", "ca.cert.pem")
58
})
0 commit comments