diff --git a/doc/api/errors.md b/doc/api/errors.md index e050392fc65163..d5ab7569f11a27 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1652,6 +1652,17 @@ recommended to use 2048 bits or larger for stronger security. A TLS/SSL handshake timed out. In this case, the server must also abort the connection. + +### ERR_TLS_INVALID_PROTOCOL_VERSION + +Valid TLS protocol versions are `'TLSv1'`, `'TLSv1.1'`, or `'TLSv1.2'`. + + +### ERR_TLS_PROTOCOL_VERSION_CONFLICT + +Attempting to set a TLS protocol `minVersion` or `maxVersion` conflicts with an +attempt to set the `secureProtocol` explicitly. Use one mechanism or the other. + ### ERR_TLS_RENEGOTIATE diff --git a/doc/api/tls.md b/doc/api/tls.md index e66e7ffe719506..af5dad83eeefab 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -995,6 +995,10 @@ argument.