Title: `@SECLEVEL=X` does not enable TLSv1 · Issue #60569 · nodejs/node · GitHub
Open Graph Title: `@SECLEVEL=X` does not enable TLSv1 · Issue #60569 · nodejs/node
X Title: `@SECLEVEL=X` does not enable TLSv1 · Issue #60569 · nodejs/node
Description: Affected URL(s) https://nodejs.org/api/tls.html#setting-security-levels Description of the problem After running the below script: import { createServer, connect } from 'node:tls'; const port = 443; createServer({ ciphers: 'DEFAULT@SECLE...
Open Graph Description: Affected URL(s) https://nodejs.org/api/tls.html#setting-security-levels Description of the problem After running the below script: import { createServer, connect } from 'node:tls'; const port = 443...
X Description: Affected URL(s) https://nodejs.org/api/tls.html#setting-security-levels Description of the problem After running the below script: import { createServer, connect } from 'node:tls'; const po...
Opengraph URL: https://github.com/nodejs/node/issues/60569
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`@SECLEVEL=X` does not enable TLSv1","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/api/tls.html#setting-security-levels\n\n### Description of the problem\n\nAfter running the below script:\n```js\nimport { createServer, connect } from 'node:tls';\nconst port = 443;\n\ncreateServer({ ciphers: 'DEFAULT@SECLEVEL=0', minVersion: 'TLSv1' }, function(socket) {\n console.log('Client connected with protocol:', socket.getProtocol());\n socket.end();\n this.close();\n})\n.listen(port, () => {\n connect(port, { ciphers: 'DEFAULT@SECLEVEL=0', maxVersion: 'TLSv1' });\n});\n```\nI get the error:\n```\nnode:events:486\n throw er; // Unhandled 'error' event\n ^\n\nError: 80F3C7A933760000:error:0A0000BF:SSL routines:tls_setup_handshake:no protocols available:../deps/openssl/openssl/ssl/statem/statem_lib.c:155:\n\n at TLSSocket._start (node:internal/tls/wrap:1097:16)\n at Object.onceWrapper (node:events:622:28)\n at TLSSocket.emit (node:events:520:35)\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1622:10)\nEmitted 'error' event on TLSSocket instance at:\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {\n library: 'SSL routines',\n reason: 'no protocols available',\n code: 'ERR_SSL_NO_PROTOCOLS_AVAILABLE'\n}\n```\n\nIt seems like `tls.DEFAULT_MIN_VERSION` is TLSv1.2. Maybe when setting a lower `maxVersion`, this property is not automatically lowered.","author":{"url":"https://github.com/davidebombelli","@type":"Person","name":"davidebombelli"},"datePublished":"2025-11-03T16:09:02Z","url":"https://github.com/nodejs/node/issues/60569"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce348f9d-9aa6-4541-3879-70e90ce92be4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E280:1587FA:735A03:99E454:6AED249A |
| html-safe-nonce | f98016e4c9389bdcb8f2363135b97fd52b593f0b18b2bc4dd651bc6595a544b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjgwOjE1ODdGQTo3MzVBMDM6OTlFNDU0OjZBRUQyNDlBIiwidmlzaXRvcl9pZCI6IjEzMDAyODM3MzY5OTcwNDU0MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c94f447afe133498c0d3ceab060486c4ae6b85f1181144273ee2fa2aacf2ece |
| hovercard-subject-tag | issue:3582729968 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/60569/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ae7400bb33a78d52ea0791af2118b562d6e380a0ca9ff7244d037ccfcefb94d/nodejs/node/issues/60569 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ae7400bb33a78d52ea0791af2118b562d6e380a0ca9ff7244d037ccfcefb94d/nodejs/node/issues/60569 |
| og:image:alt | Affected URL(s) https://nodejs.org/api/tls.html#setting-security-levels Description of the problem After running the below script: import { createServer, connect } from 'node:tls'; const port = 443... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidebombelli |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 707a24b346ac8a82878b9c084efaa38a997660cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width