Fix certificate load with wildcard name

This commit is contained in:
xenolf 2018-03-15 13:01:56 +01:00
parent 805eec9756
commit a149e7d650

View file

@ -357,6 +357,7 @@ func renew(c *cli.Context) error {
}
domain := c.GlobalStringSlice("domains")[0]
domain = strings.Replace(domain, "*", "_", -1)
// load the cert resource from files.
// We store the certificate, private key and metadata in different files