diff --git a/doc/api/tls.md b/doc/api/tls.md index 3d1d1aadf039ec..c37bdf34b9128a 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1065,7 +1065,8 @@ For EC keys, the following properties may be defined: Example certificate: -```text + +```js { subject: { OU: [ 'Domain Control Validated', 'PositiveSSL Wildcard' ], CN: '*.nodejs.org' },