Certificate Issue on HTTP REST Call
Type: Bug
Issue troubleshooting has identified that the issue is with Visual Studio Code.
When i run an HTTP Rest call i get the error: RequestError: certificate has expired
at ClientRequest.
issue does not happen in VSC - Insiders
at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:531:35)
at a.emit (c:\Users\(user)\.vscode\extensions\anweber.vscode-httpyac-6.16.7\dist\extension.js:128:39629)
at emitErrorEvent (node:_http_client:105:11)
at TLSSocket.socketErrorListener (node:_http_client:518:5)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)
at TLSSocket.emit (node:events:519:28)
at TLSSocket._finishInit (node:_tls_wrap:1078:8)
at ssl.onhandshakedone (node:_tls_wrap:864:12)
Extension version: 3.2.6 VS Code version: Code 1.106.1 (cb1933bbc38d329b3595673a600fab5c7368f0a7, 2025-11-16T10:20:23.745Z) OS version: Windows_NT x64 10.0.26100 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD EPYC 7763 64-Core Processor (4 x 2445) |
| GPU Status | 2d_canvas: unavailable_software direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: enabled_on opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: unavailable_software webnn: unavailable_software |
| Load (avg) | undefined |
| Memory (System) | 15.95GB (5.18GB free) |
| Process Argv | --crash-reporter-id 620459aa-c0d4-4a0d-a5e8-c10e7d8b52d5 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31351930
6abeh943:31336334
c12345:31413568
0574c672:31404437
cloudbuttont:31379625
todos-1:31405332
v66_all_req:31402695
control_gpt5applypatchexclusively:31412085
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
ddidt:31399633
2a0ce269:31419925
673df989:31418077
ff8f5884:31411053
defaultvisibility:31420717
defaulttokens:31420721
c0683394:31419495
Thanks for the detailed report! I’ve opened a pull request to address this certificate expiration issue: https://github.com/AnWeber/httpbook/pull/168. It updates the SSL/TLS handling to prevent the certificate has expired error when making HTTP REST calls. I’ll keep this issue open until the fix is merged. Please let me know if you have any questions or need anything else!