mre/vscode-snippet

Certificate expired on Find site

TonyGravagno opened this issue · 12 comments

mre commented

That's an issue on the server-side. The old letsencrypt DST Root CA X3 cross-sign has expired. You can give the upstream issue a 👍 if you like. chubin/cheat.sh#310

mre commented

@TonyGravagno can you try again now? The upstream issue seems to have been fixed.

I'm still getting the error with httpS, not with http, of course. From the Terminal I get a SSL connection and a response:
curl -v --ssl-reqd https://cht.sh/:help | more

There must be a cache value that needs to be reset. I've exited VSCode and reopened the workspace. I'm completely unfamiliar with HTTP from VSCode, execution of a command-line, etc.

Thoughts?
(Please re-open until this is resolved, thanks.)

mre commented

Thanks for the feedback. Don't know of any certificate caching in VSCode. You could check inside the ~/.vscode folder to be sure.

mre commented

Actually the settings are in $HOME/Library/Application\ Support/Code/, sorry.

No joy finding it yet (Windows). Looking. Thanks!

OK, no clue if this helps you or anyone. Will continue to look deeper as time permits - and it almost never does. :(

image

I see in the code you have a temporary response cache. I wonder if that's persisted in the workspace, and for how long:

let data = this.requestCache[url];

I'm also wondering if axios caches anything.

I've exhausted my time on this for now. HTH and thanks again.

There seems to be a solution. For this problem, I unchecked http.proxyStrictSSL and http.systemCertificates (search in settings), after, I can search for snippets, but I don't know if there is any security risk in http transmission by doing this

Confirming continued interest/support. Just haven't had time to re-check. Should be able to soon and will come back here to confirm. Thanks for your efforts!

Do you still have the problem with the upstream service? It should work well at the moment. Could you please verify?

mre commented

Works as expected for me. Closing this. Thanks @chubin. ❤️