What problem does it solve?
Setting up mutual TLS for zero-trust service-to-service authentication is error-prone: servers often accept any client certificate, identity checks are skipped, and expired or revoked certificates cause outages or silent trust failures. This Skill guides certificate generation, chain validation, and mTLS deployment auditing so both directions of authentication are actually enforced.
Core Features & Use Cases
- CA and Service Certificate Generation: Creates a root CA and issues service certificates using the Python cryptography library with RSA keys and SHA-256 signing.
- mTLS Client/Server Configuration: Configures ssl.SSLContext with CERT_REQUIRED verification, CA trust stores, and client certificate chains.
- Deployment Auditing: Validates certificate chains, checks expiration dates, and verifies that misconfigurations like CERT_NONE or missing SAN checks are caught.
- Use Case: When rolling out zero-trust networking across internal microservices, use this Skill to generate the CA hierarchy, configure each service's TLS context, and verify with openssl that certificate-less or wrong-CA connections are rejected.
Quick Start
Ask the AI to generate a CA certificate and configure mutual TLS verification between two Python services, then audit the deployment for expired certificates and missing client-cert enforcement.