certificate: Remove Subject from CreateOptions

This commit is contained in:
Adnan Maolood
2021-03-04 16:27:16 -05:00
parent 688e7e2823
commit ce649ecc66
3 changed files with 0 additions and 17 deletions

View File

@@ -5,7 +5,6 @@
package main
import (
"crypto/x509/pkix"
"fmt"
"log"
"os"
@@ -25,9 +24,6 @@ func main() {
log.Fatal(err)
}
options := certificate.CreateOptions{
Subject: pkix.Name{
CommonName: host,
},
DNSNames: []string{host},
Duration: duration,
}