shift around certs and set up gitignore
This commit is contained in:
parent
f3af5c9020
commit
bebe0018d6
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.pem
|
2
main.go
2
main.go
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user