claude-code - 💡(How to fix) Fix [BUG] Cowork SSL certificate expired error on Windows 11 Enterprise — API calls fail before VM rootfs download completes in v1.3561.0 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52112Fetched 2026-04-23 07:36:20
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

I receive the following error message in CoWork API Error: Unable to connect to API: SSL certificate has expired

Noted in the log excerpt shown below. [CycleHealth] Unhealthy cycle: { cycle_health: 'unhealthy', had_first_response: true, seconds_to_outcome: 183-249, is_resume: false, unhealthy_reason: 'api_error', error_message: 'API Error: Unable to connect to API: SSL certificate has expired' }

Full redacted main.log attached. Key observation: the SSL failure occurs while download:2 (rootfs.vhdx.zst, ~2.2 GB) is still in progress at approximately 19% completion, indicating API calls are being attempted before the VM is fully initialized.

Fix Action

Fix / Workaround

Summary Claude Cowork fails with API Error: Unable to connect to API: SSL certificate has expired on Windows 11 Enterprise after updating to Claude Desktop v1.3561.0 (Claude Code v2.1.111). Cowork was functioning correctly on the previous version before this update. Behavior When a prompt is submitted in Cowork, the session retries approximately 10 times over roughly 3 minutes before failing with the SSL certificate error. The failure occurs consistently across multiple fresh VM instances, across multiple days, and survives a complete clean uninstall and reinstall including full removal of all Cowork VM components. Key finding from logs The main.log shows that Cowork attempts to make API calls to api.anthropic.com before the VM rootfs image (rootfs.vhdx.zst, ~2.2 GB) has finished downloading. The SSL failure occurs consistently at this point regardless of VM instance. The session takes approximately 183–249 seconds to fail each time. Workarounds attempted — none successful

Code Example

I receive the following error message in CoWork
API Error: Unable to connect to API: SSL certificate has expired

Noted in the log excerpt shown below.
[CycleHealth] Unhealthy cycle: {
  cycle_health: 'unhealthy',
  had_first_response: true,
  seconds_to_outcome: 183-249,
  is_resume: false,
  unhealthy_reason: 'api_error',
  error_message: 'API Error: Unable to connect to API: SSL certificate has expired'
}

Full redacted main.log attached. Key observation: the SSL failure 
occurs while download:2 (rootfs.vhdx.zst, ~2.2 GB) is still in 
progress at approximately 19% completion, indicating API calls are 
being attempted before the VM is fully initialized.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Here's a description you can paste directly into the "What's Wrong?" field:

Summary Claude Cowork fails with API Error: Unable to connect to API: SSL certificate has expired on Windows 11 Enterprise after updating to Claude Desktop v1.3561.0 (Claude Code v2.1.111). Cowork was functioning correctly on the previous version before this update. Behavior When a prompt is submitted in Cowork, the session retries approximately 10 times over roughly 3 minutes before failing with the SSL certificate error. The failure occurs consistently across multiple fresh VM instances, across multiple days, and survives a complete clean uninstall and reinstall including full removal of all Cowork VM components. Key finding from logs The main.log shows that Cowork attempts to make API calls to api.anthropic.com before the VM rootfs image (rootfs.vhdx.zst, ~2.2 GB) has finished downloading. The SSL failure occurs consistently at this point regardless of VM instance. The session takes approximately 183–249 seconds to fail each time. Workarounds attempted — none successful

Full clean uninstall including removal of CoworkVMServiceStore, MSIX package, VM bundle, and all AppData folders, followed by fresh reinstall Setting NODE_USE_SYSTEM_CA=1 as a user environment variable (confirmed present in envKeys in logs) Updating corporate TLS inspection certificates Closing and fully quitting Claude Desktop between attempts

Environment

Claude Desktop version: 1.3561.0 Claude Code version: 2.1.111 OS: Windows 11 Enterprise Network: Corporate environment with TLS inspection

Log file attached — main.log with personally identifiable information redacted.

main_with_obfucsation.log

What Should Happen?

Cowork should successfully establish an SSL/TLS connection to api.anthropic.com and respond to prompts without certificate errors on Windows 11 Enterprise. Specifically:

  1. The Cowork VM should complete its initial setup and download of required components before attempting API calls, rather than initiating connections while the VM rootfs image is still downloading.
  2. The SSL certificate trust chain should be correctly resolved within the Cowork VM environment, honoring either the NODE_USE_SYSTEM_CA environment variable or the Windows system certificate store, so that enterprise environments with TLS inspection do not cause certificate validation failures.
  3. Cowork should function on the current version at the same level it did on the previous version, where it connected and responded successfully without any SSL errors or certificate configuration changes required on the user's part.

Error Messages/Logs

I receive the following error message in CoWork
API Error: Unable to connect to API: SSL certificate has expired

Noted in the log excerpt shown below.
[CycleHealth] Unhealthy cycle: {
  cycle_health: 'unhealthy',
  had_first_response: true,
  seconds_to_outcome: 183-249,
  is_resume: false,
  unhealthy_reason: 'api_error',
  error_message: 'API Error: Unable to connect to API: SSL certificate has expired'
}

Full redacted main.log attached. Key observation: the SSL failure 
occurs while download:2 (rootfs.vhdx.zst, ~2.2 GB) is still in 
progress at approximately 19% completion, indicating API calls are 
being attempted before the VM is fully initialized.

Steps to Reproduce

  1. Install Claude Desktop v1.3561.0 on Windows 11 Enterprise in a corporate environment with TLS inspection enabled
  2. Log in with a valid Claude account (Pro, Max, Team, or Enterprise plan)
  3. Allow Claude Desktop to complete its initial setup, including downloading the Cowork VM components (~2.2 GB rootfs image)
  4. Navigate to the Cowork tab
  5. Submit any prompt, e.g. "Are we connected?"
  6. Observe Cowork retrying approximately 10 times over ~3 minutes
  7. Observe the final error: API Error: Unable to connect to API: SSL certificate has expired

Additional reproduction notes:

  • The error persists across full Claude Desktop restarts including quitting from the system tray
  • The error persists after a complete clean uninstall and reinstall including removal of all Cowork VM components
  • The error persists after setting NODE_USE_SYSTEM_CA=1 as a user environment variable
  • The error persists after updating corporate TLS inspection certificates
  • The Chat tab continues to work normally throughout — the issue is specific to Cowork

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Prior to 1.3561.0

Claude Code Version

unknown. Update occurred automatically along side the 1.3561.0 version.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

The Chat tab in Claude Desktop functions normally throughout — the SSL error is exclusive to the Cowork tab, confirming the issue is specific to the Cowork VM environment rather than general connectivity or authentication. The error is consistent and reproducible across multiple days (April 17–22, 2026 roughly), multiple fresh VM instances, and multiple Cowork sessions. It is not intermittent. The following troubleshooting steps were all attempted without success prior to filing this report:

Complete clean uninstall including manual removal of CoworkVMServiceStore, the MSIX package, the VM bundle, and all AppData folders, followed by fresh reinstall Setting NODE_USE_SYSTEM_CA=1 as a Windows user environment variable (confirmed present in session envKeys in attached log) Updating corporate TLS inspection certificates Fully quitting Claude Desktop from the system tray between all attempts

The main.log attached spans two days and captures three separate failed Cowork sessions across three different VM instance IDs, all failing with the same error. The log shows the SSL failure occurring while the VM rootfs image download (rootfs.vhdx.zst) is still in progress at approximately 19% completion, suggesting API calls are being initiated before the VM environment is fully initialized and ready. This issue began immediately after an automatic update to v1.3561.0. The previous version was functioning correctly without any certificate configuration changes required.

extent analysis

TL;DR

The most likely fix is to delay API calls in the Cowork VM until the rootfs image download is complete, ensuring the VM environment is fully initialized before attempting SSL connections.

Guidance

  • Verify that the rootfs image download is complete before initiating API calls to prevent SSL certificate errors.
  • Consider adding a check to ensure the VM environment is fully initialized before attempting to connect to the API.
  • Review the logs to confirm that the SSL failure occurs while the rootfs image download is still in progress.
  • Investigate why setting NODE_USE_SYSTEM_CA=1 as a user environment variable did not resolve the issue, as it should have allowed the Cowork VM to use the system certificate store.

Example

No code snippet is provided, as the issue is related to the timing of API calls and VM initialization, rather than a specific code error.

Notes

The issue is specific to the Cowork tab and does not affect the Chat tab, suggesting that the problem is related to the Cowork VM environment. The error is consistent and reproducible across multiple days and VM instances, indicating a systematic issue rather than an intermittent problem.

Recommendation

Apply a workaround to delay API calls in the Cowork VM until the rootfs image download is complete, as this is the most likely cause of the SSL certificate error. This can be done by modifying the Cowork VM initialization process to wait for the rootfs image download to finish before initiating API calls.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING