Error response Error code: 500 Message: Token exchange failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>. Error code explanation: 500 - Server got itself in trouble.
What version of Codex is running?
Error response Error code: 500 Message: Token exchange failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>. Error code explanation: 500 - Server got itself in trouble.
Which model were you using?
No response
What platform is your computer?
No response
What steps can reproduce the bug?
Error response Error code: 500
Message: Token exchange failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1028)>.
Error code explanation: 500 - Server got itself in trouble.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
Same issue.
same here, can't login with my chatGPT
same here
#1951
same
Same. Very bad :(
Same, very bad I paid for something I can't use...
+1
+1
https://github.com/openai/codex/issues/1951#issuecomment-3165404122
This method solved the problem. It seems that the cause was not a bug, but rather that the CA root certificates maintained by the execution environment were outdated.
that works thanks!
On Wed, Aug 13, 2025 at 11:08 AM ktyubeshi @.***> wrote:
ktyubeshi left a comment (openai/codex#1849) https://github.com/openai/codex/issues/1849#issuecomment-3184531715
#1951 (comment) https://github.com/openai/codex/issues/1951#issuecomment-3165404122
This method solved the problem. It seems that the cause was not a bug, but rather that the CA root certificates maintained by the execution environment were outdated.
— Reply to this email directly, view it on GitHub https://github.com/openai/codex/issues/1849#issuecomment-3184531715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPTANAERZP5DYMWUWOPZL3NNPGPAVCNFSM6AAAAACDFGQ64CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCOBUGUZTCNZRGU . You are receiving this because you commented.Message ID: @.***>
Solved by upgrading cerfifi on my macOS 15
python3 -m pip install --upgrade certifi
I think this issue is no longer relevant. The CLI no longer relies on the local Python install.