aboutsummaryrefslogtreecommitdiff
path: root/cmd/acme
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-01 14:54:26 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-01 14:54:26 +0100
commit22b6e21cbb304403d8ce9d14060c6a876cf2c0e8 (patch)
tree1971d8bf6e60e1541faba169f066abfe1d4e2e98 /cmd/acme
parentfb2e95cde5b0376522bad6a5d54fcc4d021c2dd6 (diff)
Cleanup file operations
Diffstat (limited to 'cmd/acme')
-rw-r--r--cmd/acme/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/acme/config.go b/cmd/acme/config.go
index 40bb3c1..8149393 100644
--- a/cmd/acme/config.go
+++ b/cmd/acme/config.go
@@ -138,7 +138,7 @@ func LoadConfig(fname string) (*Config, error) {
dom.KeyFile = path.Join(keyPath, replace(d)+".key")
}
if dom.CrtFile == "" {
- dom.CrtFile = path.Join(crtPath, replace(d)+".crt")
+ dom.CrtFile = path.Join(crtPath, replace(d)+".pem")
}
if c.BaseDir != "" {
dom.KeyFile = path.Join(c.BaseDir, dom.KeyFile)