diff options
-rw-r--r-- | src/certtool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/certtool.c b/src/certtool.c index 52c7a26d55..f292d02974 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -696,6 +696,9 @@ generate_self_signed (void) crt = generate_certificate (&key, NULL); + if (!key) + key = load_private_key (1); + uri = get_crl_dist_point_url (); if (uri) { |