You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

Index: src/github.com/cloudflare/cfssl/cmd/cfssljson/cfssljson.go
--- src/github.com/cloudflare/cfssl/cmd/cfssljson/cfssljson.go.orig 2017-09-01 14:55:11.000000000 +0200
+++ src/github.com/cloudflare/cfssl/cmd/cfssljson/cfssljson.go 2017-09-01 14:56:34.492945000 +0200
@@ -112,7 +112,7 @@
12 years ago
}
if cert != "" {
outs = append(outs, outputFile{
- Filename: baseName + ".pem",
+ Filename: baseName + ".crt",
Contents: cert,
Perms: 0664,
})
@@ -125,7 +125,7 @@
12 years ago
}
if key != "" {
outs = append(outs, outputFile{
- Filename: baseName + "-key.pem",
+ Filename: baseName + ".key",
Contents: key,
Perms: 0600,
})
@@ -158,12 +158,12 @@
if certificateBundle, ok := contents["bundle"].(string); ok {
if rootCertificate, ok := contents["root"].(string); ok {
outs = append(outs, outputFile{
- Filename: baseName + "-bundle.pem",
+ Filename: baseName + "-bundle.crt",
Contents: certificateBundle + "\n" + rootCertificate,
Perms: 0644,
})
outs = append(outs, outputFile{
- Filename: baseName + "-root.pem",
+ Filename: baseName + "-root.crt",
Contents: rootCertificate,
Perms: 0644,
})