shift around certs and set up gitignore

This commit is contained in:
David 2020-09-12 18:06:15 -04:00
parent f3af5c9020
commit bebe0018d6
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pem

View File

@ -229,7 +229,7 @@ func main() {
magic := certmagic.NewDefault() magic := certmagic.NewDefault()
myACME := certmagic.NewACMEManager(magic, certmagic.DefaultACME) myACME := certmagic.NewACMEManager(magic, certmagic.DefaultACME)
err = magic.CacheUnmanagedCertificatePEMFile("./self-signed/cert.pem", "./self-signed/key.pem", []string{}) err = magic.CacheUnmanagedCertificatePEMFile("./cert.pem", "./key.pem", []string{})
if err != nil { if err != nil {
log.Info(err) log.Info(err)
} }