Skip to content

Commit b155363

Browse files
authored
Merge pull request #121 from rafiss/generate-pkcs8-key
testserver: generate PKCS8 key for certs
2 parents 7ccc74f + f3a3321 commit b155363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testserver/testserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func NewTestServer(opts ...TestServerOpt) (TestServer, error) {
339339
// Create cert and key pair for the cockroach node.
340340
{"cert", "create-node", "localhost"},
341341
// Create cert and key pair for the root user (SQL client).
342-
{"cert", "create-client", "root"},
342+
{"cert", "create-client", "root", "--also-generate-pkcs8-key"},
343343
} {
344344
createCertCmd := exec.Command(cockroachBinary, append(args, certArgs...)...)
345345
log.Printf("%s executing: %s", testserverMessagePrefix, createCertCmd)

0 commit comments

Comments
 (0)