make certificate serial number random by default

This commit is contained in:
Klas Lindfors
2016-08-10 10:12:00 +02:00
parent a3c9f6965a
commit b052250a1b
2 changed files with 29 additions and 4 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ option "subject" S "The subject to use for certificate request" string optional
text "
The subject must be written as:
/CN=host.example.com/OU=test/O=example.com/\n"
option "serial" - "Serial number of the self-signed certificate" int optional default="1"
option "serial" - "Serial number of the self-signed certificate" int optional
option "valid-days" - "Time (in days) until the self-signed certificate expires" int optional default="365"
option "pin" P "Pin/puk code for verification" string optional
option "new-pin" N "New pin/puk code for changing" string optional dependon="pin"