본문으로 건너뛰기
Skillpedia
일반 코딩7.8k · #13020

ssl-proxy-troubleshoot-fb786c

하는 일

이 스킬은 정부, 기업 또는 기타 제한된 사이트에서 연결이 실패하는 원인을 AI 에이전트가 체계적으로 찾도록 안내합니다. 인증서나 프록시 제한이 있는 사이트에서 요청이 실패하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓정부나 기업 웹사이트로의 요청이 SSL 또는 TLS 인증서 오류로 실패할 때.
  • ✓제한된 네트워크에서 연결이 시간 초과되거나 거부될 때.
  • ✓프록시 설정이 방해하고 있어 다른 방법으로 데이터 출처에 접근해야 할 때.

스킬 링크

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/ssl-proxy-troubleshoot-fb786c/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/ssl-proxy-troubleshoot-fb786c/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“기업 포털로의 요청이 인증서 오류로 계속 실패합니다. 무엇이 막고 있는지 찾도록 점검 단계를 하나씩 진행해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 DNS와 포트를 확인한 다음, 인증서 세부 정보와 사이트가 받아들이는 TLS 버전을 살펴봅니다. 기본 출처에 계속 접근할 수 없으면 다른 출처를 찾습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

SSL/Proxy Connectivity Troubleshooting

This skill provides a structured workflow for diagnosing and resolving network connectivity issues when accessing government websites, corporate portals, or other restricted domains that commonly exhibit SSL certificate problems, proxy requirements, or access restrictions.

When to Use

Apply this skill when:

  • HTTP requests fail with SSL/TLS certificate errors
  • Connections timeout or are refused through corporate/government networks
  • Proxy settings may be interfering with connectivity
  • Primary data sources are inaccessible and alternatives are needed

Diagnostic Workflow

Step 1: Initial Connectivity Assessment

Test basic connectivity before attempting complex solutions:

# Test DNS resolution
nslookup target-domain.gov
dig target-domain.gov

# Test basic TCP connectivity
timeout 5 bash -c 'cat < /dev/null > /dev/tcp/target-domain.gov/443' && echo "Port 443 open" || echo "Port 443 closed"

# Test with curl (verbose)
curl -v https://target-domain.gov 2>&1 | head -50

Step 2: SSL Certificate Investigation

If SSL errors occur, diagnose the certificate issue:

# Check certificate details
openssl s_client -connect target-domain.gov:443 -servername target-domain.gov 2>/dev/null | openssl x509 -noout -dates -subject -issuer

# Test with different SSL versions
curl --tlsv1.2 -v https://target-domain.gov
curl --tlsv1.3 -v https://target-domain.gov

# Try disabling verification (testing only)
curl -k https://target-domain.gov

Step 3: Proxy Configuration Testing

Test various proxy configurations:

# Try without proxy
curl --noproxy "*" https://target-domain.gov

# Try with system proxy
curl -x http://proxy.example.com:8080 https://target-domain.gov

# Try explicit no-proxy for .gov domains
export no_proxy=".gov,.mil,.edu"
curl https://target-domain.gov

# Test with different proxy protocols
curl -x http://proxy:8080 https://target-domain.gov
curl -x https://proxy:8080 https://target-domain.gov
curl -x socks5://proxy:1080 https://target-domain.gov

Step 4: Protocol and Port Variations

Test alternative access methods:

# Try HTTP instead of HTTPS
curl http://target-domain.gov

# Try alternative ports
curl https://target-domain.gov:8443
curl https://target-domain.gov:4443

# Try www subdomain variation
curl https://www.target-domain.gov

# Try alternative domain extensions
curl https://target-domain.state.il.us

Step 5: User-Agent and Header Manipulation

Some sites block automated access:

# Use browser user-agent
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" https://target-domain.gov

# Add common headers
curl -H "Accept: text/html" -H "Accept-Language: en-US" https://target-domain.gov

# Include referer header
curl -e "https://www.google.com/" https://target-domain.gov

Step 6: Python Requests Alternative

If curl fails, try Python with different configurations:

import requests
from requests.adapters import HTTPAdapter

# Disable SSL verification (testing only)
session = requests.Session()
session.verify = False
session.mount('https://', HTTPAdapter())

try:
    response = session.get('https://target-domain.gov', timeout=30)
    print(f"Status: {response.status_code}")
except Exception as e:
    print(f"Error: {e}")

# Try with custom SSL context
import ssl
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE

Fallback Strategies

When primary data sources remain inaccessible after exhausting troubleshooting:

1. Alternative Data Sources

  • Search for mirror sites or archived versions (Wayback Machine)
  • Check if data is available through state/federal data portals (data.gov)
  • Look for API endpoints that may have different access requirements
  • Search for downloadable datasets on alternative domains

2. Indirect Access Methods

  • Check if the same data is available through partner organizations
  • Look for cached versions through search engines
  • Contact the organization directly for data access
  • Check if data is available through FOIA requests or public records

3. Documentation and Reporting

When access fails after systematic troubleshooting:

## Access Attempt Summary
- **Target**: [domain]
- **Methods Tried**: [list all approaches]
- **Errors Encountered**: [specific error messages]
- **Time Spent**: [duration]
- **Recommendation**: [alternative sources or next steps]
`
자주 묻는 질문

스킬은 어떤 명령을 쓰나요?

연결과 인증서를 확인하기 위해 nslookup, dig, curl, openssl 같은 도구를 사용합니다.

인증서의 무엇을 확인하나요?

날짜, 주체, 발급자를 확인해 인증서가 원인인지 살펴봅니다.

사이트에 전혀 접근할 수 없다면 어떻게 하나요?

기본 사이트에 접근할 수 없을 때는 대체 데이터 출처를 찾으라고 스킬은 안내합니다.

상세 정보

작성자의 원본 설명

Systematic approach to diagnosing and resolving SSL/proxy connectivity issues with restricted websites

repo: HKUDS/AgentPilot

인기도

GitHub 스타
7.8k
순위
#13020
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬