Agent Skillsryantsai/KKTerm › tls-certificate-troubleshooter

tls-certificate-troubleshooter

GitHub

用于诊断KKTerm中HTTPS连接、证书信任、主机名不匹配及TLS握手失败等问题。通过识别客户端和目标,捕获具体错误类型,区分TLS与SSH信任体系,并提供安全的排查命令和修复建议。

assistant-skills/tls-certificate-troubleshooter/SKILL.md ryantsai/KKTerm

Trigger Scenarios

HTTPS URL 连接失败 证书过期或不受信任 TLS 握手错误

Install

npx skills add ryantsai/KKTerm --skill tls-certificate-troubleshooter -g -y
More Options

Non-standard path

npx skills add https://github.com/ryantsai/KKTerm/tree/main/assistant-skills/tls-certificate-troubleshooter -g -y

Use without installing

npx skills use ryantsai/KKTerm@tls-certificate-troubleshooter

指定 Agent (Claude Code)

npx skills add ryantsai/KKTerm --skill tls-certificate-troubleshooter -a claude-code -g -y

安装 repo 全部 skill

npx skills add ryantsai/KKTerm --all -g -y

预览 repo 内 skill

npx skills add ryantsai/KKTerm --list

SKILL.md

Frontmatter
{
    "name": "tls-certificate-troubleshooter",
    "description": "Diagnose TLS and certificate problems in KKTerm, including HTTPS URL Connection errors, expired certificates, untrusted roots, hostname mismatch, SNI, chain issues, corporate inspection, and TLS handshake failures."
}

TLS Certificate Troubleshooter

Use this skill when HTTPS, API, URL Connection, proxy, or secure service access fails with certificate, trust, hostname, or TLS handshake errors.

Workflow

  1. Identify the failing client and target: WebView2 URL Connection, terminal command, SSH remote host, dashboard widget network request, or another tool.
  2. Capture the exact error class: expired certificate, hostname mismatch, unknown issuer, incomplete chain, revoked certificate, protocol version, cipher, or handshake timeout.
  3. Separate TLS certificate trust from SSH host key trust. They are different trust systems and should not share remediation steps.
  4. Check the hostname used by the client. Certificate validation follows the requested DNS name, not a convenient alias or raw IP address.
  5. For corporate inspection or proxy environments, ask whether the issuing CA is expected and managed before suggesting trust changes.
  6. Treat clock skew as a first-class cause when certificates appear not-yet-valid or unexpectedly expired.
  7. Avoid telling users to disable certificate validation. If a temporary bypass is discussed, label it unsafe and keep it out of saved app settings.
  8. For internal services, prefer fixing the certificate chain, SANs, and server configuration over pinning brittle workarounds.

Command Guidance

  • Windows certificate/date context: Get-Date, browser/WebView2 error text, and certificate viewer details when available.
  • PowerShell HTTPS check: Invoke-WebRequest https://<host> -Method Head for a simple client-side error, without adding validation bypasses.
  • OpenSSL check when installed: openssl s_client -connect <host>:443 -servername <host> -showcerts.
  • POSIX remote check: curl -Iv https://<host> to view TLS and certificate errors without downloading a body.
  • For non-443 services, use the service port and correct SNI/server name when the tool supports it.

KKTerm Boundaries

  • URL Connections use WebView2, which follows Windows trust and proxy behavior.
  • Dashboard AI Created Widgets may make network requests only when their permissions allow it and Settings permits widget network tools.
  • Secrets and private keys must not be pasted into chat.
  • SSH host key warnings belong to SSH troubleshooting, not TLS certificate repair.

Version History

  • b4e2eb1 Current 2026-07-05 14:38

Same Skill Collection

.agents/skills/develop-kkmod-modules/SKILL.md
assistant-skills/dashboard-data-visualization/SKILL.md
assistant-skills/dashboard-widget-builder/SKILL.md
assistant-skills/dashboard-widget-designer/SKILL.md
assistant-skills/desktop-accessibility-ui/SKILL.md
assistant-skills/dns-dhcp-troubleshooter/SKILL.md
assistant-skills/firewall-port-troubleshooter/SKILL.md
assistant-skills/network-connectivity-troubleshooter/SKILL.md
assistant-skills/remote-desktop-helper/SKILL.md
assistant-skills/sftp-transfer-helper/SKILL.md
assistant-skills/ssh-troubleshooter/SKILL.md
assistant-skills/terminal-command-planner/SKILL.md

Metadata

Files
0
Version
38bc67a
Hash
1037f81c
Indexed
2026-07-05 14:38

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-04 19:55
浙ICP备14020137号-1 $방문자$