You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to start opencode with AWS Bedrock as provider when config includes a ca_certificate #8052
EDIT TO ADD: As mentioned in the comments, I resolved this by explicitly setting the SSL_CERT_BUNDLE and REQUESTS_CA_BUNDLE environment variables to the location of my company-provided cert bundle.
I would no longer characterize this as a bug, but as needing a descriptive error message.
Description
Due to a recent change, I must now include a ca_bundle in my ~/.aws/config to authenticate awscli on my work machine. Since making this change, I am unable to start opencode with Bedrock as the provider.
Hi @dpclark4, I ran into some other SSL-related issues that coincided with this problem. I ultimately resolved by explicitly setting the SSL_CERT_BUNDLE and REQUESTS_CA_BUNDLE environment variables to point at the cert bundle I mentioned in my initial post, which also resolved the problem with opencode. Hopefully this is helpful.
Activity
dpclark4 commentedon Jan 13, 2026
I'm also seeing this:
I noticed this issue a day or two ago. I tried on both 1.1.14 and 1.1.18
neshreve commentedon Jan 14, 2026
Hi @dpclark4, I ran into some other SSL-related issues that coincided with this problem. I ultimately resolved by explicitly setting the
SSL_CERT_BUNDLEandREQUESTS_CA_BUNDLEenvironment variables to point at the cert bundle I mentioned in my initial post, which also resolved the problem with opencode. Hopefully this is helpful.alexsandiiarov commentedon Jan 14, 2026
I found a workaround for this one:
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.