makecert: Remove key usage attribute
The original makecert tool won't add this tribute to a generated certificate. Adding this attribute might cause problems when using the certificate with other apps (i.e. Qt SSL).
This commit is contained in:
parent
72d901454c
commit
899d0874b8
@ -989,7 +989,6 @@ int makecert_context_process(MAKECERT_CONTEXT* context, int argc, char** argv)
|
||||
X509_set_issuer_name(context->x509, name);
|
||||
|
||||
x509_add_ext(context->x509, NID_ext_key_usage, "serverAuth");
|
||||
x509_add_ext(context->x509, NID_key_usage, "keyEncipherment,dataEncipherment");
|
||||
|
||||
arg = CommandLineFindArgumentA(args, "a");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user