-
-
Notifications
You must be signed in to change notification settings - Fork 647
Tutorial for extensions when generating certificate
Kenji Urushima edited this page Apr 28, 2021
·
21 revisions
Extensions can be specified as JSON object when generating a certificate.
This document describes samples for extensions.
"extname" member shall be specified. "critical" flag is OPTION.
{ extname: "NAME-OF-EXTENSION",
critical: true, // OPTION: critical flag can be specified
... extension values ... }{ extname: "basicConstraints",
critical: true,
cA: true, // OPTION
pathLen: 2 } // OPTION