diff --git a/doc/api/errors.md b/doc/api/errors.md index 4d9651be8ddd2a..63d2e1c20d5346 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1792,7 +1792,7 @@ additional details. ### `ERR_TLS_CERT_ALTNAME_INVALID` -While using TLS, the hostname/IP of the peer did not match any of the +While using TLS, the host name/IP of the peer did not match any of the `subjectAltNames` in its certificate. @@ -1843,7 +1843,7 @@ An attempt was made to renegotiate TLS on a socket instance with TLS disabled. ### `ERR_TLS_REQUIRED_SERVER_NAME` While using TLS, the `server.addContext()` method was called without providing -a hostname in the first parameter. +a host name in the first parameter. ### `ERR_TLS_SESSION_ATTACK`