From 9a14872964c2be7d5c6359f1bd4ed22b952f69bb Mon Sep 17 00:00:00 2001 From: imnyang Date: Sun, 15 Jun 2025 13:30:33 +0900 Subject: [PATCH] fix: update proxy test to use certificate for SSL verification --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf955ec..bfc9c92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,8 +40,8 @@ jobs: # Wait for application to start sleep 5 - # Test proxy functionality (skip SSL verification for testing) - curl --insecure -x https://localhost:11080 "https://github.com/login?client_id=Ov23lixietSCQOHxPvcr&return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3DOv23lixietSCQOHxPvcr%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A8787%26scope%3Dread%253Auser%2Buser%253Aemail%26skip_account_picker%3Dtrue" --silent + # Test proxy functionality + curl --cacert ~/.mitmproxy/mitmproxy-ca-cert.pem -x https://localhost:11080 "https://github.com/login?client_id=Ov23lixietSCQOHxPvcr&return_to=%2Flogin%2Foauth%2Fauthorize%3Fclient_id%3DOv23lixietSCQOHxPvcr%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A8787%26scope%3Dread%253Auser%2Buser%253Aemail%26skip_account_picker%3Dtrue" # Clean up kill $APP_PID