Implement loading of certificates from a directory

This commit is contained in:
adnano
2020-10-12 00:06:20 -04:00
parent 065ed828fb
commit 322e66ca1e
2 changed files with 24 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ func main() {
log.Fatal(err)
}
if err := gmi.WriteCertificate(host, crt, key); err != nil {
if err := gmi.WriteX509KeyPair(host, crt, key); err != nil {
log.Fatal(err)
}
}