aboutsummaryrefslogtreecommitdiffstats
path: root/src/pki/commands/issue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pki/commands/issue.c')
-rw-r--r--src/pki/commands/issue.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pki/commands/issue.c b/src/pki/commands/issue.c
index c71e9b530..48c1ead20 100644
--- a/src/pki/commands/issue.c
+++ b/src/pki/commands/issue.c
@@ -104,7 +104,11 @@ static int issue()
flags |= X509_CA;
continue;
case 'f':
- if (streq(arg, "ocspSigning"))
+ if (streq(arg, "serverAuth"))
+ {
+ flags |= X509_SERVER_AUTH;
+ }
+ else if (streq(arg, "ocspSigning"))
{
flags |= X509_OCSP_SIGNER;
}