소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 30일 15:15
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill tls-cert-preflight명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | tls-cert-preflight |
| description | Use when validating TLS certs before deploying an endpoint. |
| version | 1.0.0 |
| category | devops |
| triggers | ["certs were handed over or dropped in and need verification","nginx -t fails with cannot load certificate / PEM_read_bio_PrivateKey","TLS clients reject a deployed endpoint","verifying Let's Encrypt or self-signed cert material before a restart"] |
"A cert file exists at the configured path" is NOT a working cert. Placeholder and broken drops are
common — hand-copied intermediates, headerless DER keys, mismatched key/cert. Validate the pair
BEFORE nginx -t / reload / restart: an endpoint that starts and silently rejects every TLS handshake
wastes a whole debug cycle.
bash ~/.hermes/skills/devops/tls-cert-preflight/scripts/verify-ssl-pair.sh <fullchain.pem> <privkey.pem>
Exit 0 = usable server pair; 1 = failures found, each named. Reproduce the checks by hand with:
openssl x509 -in fullchain.pem -noout -subject -issuer -datesopenssl x509 -in fullchain.pem -noout -ext subjectAltName
(empty or "No extensions" = dead — modern clients reject)openssl x509 -in fullchain.pem -noout -text | grep CA:TRUE
(a CA/intermediate cert can never serve a hostname)openssl pkey -in privkey.pem -noout
(fails on headerless DER: a ~100-200-byte file with no -----BEGIN line)| Symptom | Meaning |
|---|---|
Basic Constraints: CA:TRUE + no SAN | PEM is an intermediate/CA cert (e.g. CN=YE1 / "Root YE" test chain), not a server leaf |
| ~3-year validity | Real Let's Encrypt leaves = 90 days; multi-year = hand-made/copied placeholder |
nginx -t: cannot load certificate key ... PEM_read_bio_PrivateKey() failed | key is headerless DER (missing PEM armor) — re-armor or replace |
| key parses but different curve/size than cert (e.g. P-256 key beside P-384 cert) | mismatched pair — replace both files |
No /etc/letsencrypt/renewal/<domain>.conf, no archive/, live files owned by a user | certbot never issued it; cert is not managed or renewable |
nginx -t. A pair issue shows up as either cannot load certificate key
(unarmored/mismatched key) or as a config that tests clean but serves a broken handshake.nginx-web-app-deployment skill.Keep the proxy layer testable via curl -k with a SAN-correct self-signed pair:
openssl req -x509 -newkey rsa:2048 -keyout privkey.pem -out fullchain.pem -days 90 -nodes \
-subj "/CN=DOMAIN" -addext "subjectAltName=DNS:DOMAIN,DNS:localhost"
Verify with the probe, swap into the live dir, restart. Real certs drop in later with just a reload.
.env pointed at .org while the user referenced .com certs — check the actual URL the client uses.command not found). Policy presence is not binary presence.cert.pem/chain.pem/
privkey.pem quartet → hand-placed, not certbot-managed.