diff --git a/caddy/https/crypto_test.go b/caddy/https/crypto_test.go index 07d2af5c7..f61669d72 100644 --- a/caddy/https/crypto_test.go +++ b/caddy/https/crypto_test.go @@ -17,7 +17,7 @@ func TestSaveAndLoadRSAPrivateKey(t *testing.T) { keyFile := "test.key" defer os.Remove(keyFile) - privateKey, err := rsa.GenerateKey(rand.Reader, 2048) + privateKey, err := rsa.GenerateKey(rand.Reader, 128) // make tests faster; small key size OK for testing if err != nil { t.Fatal(err) }