Skip to content
Back to skills

Sslgen

ASecurity

Generate self-signed SSL certs and CAs for dev environments. Use when creating certs, validating CSRs, generating chains, formatting PEM.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
toolsgobashgitsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill sslgen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sslgen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sslgen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-sslgen/badge)](https://www.skillsdirectory.com/skills/bytesagain-sslgen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: SSLGen
description: "Generate self-signed SSL certs and CAs for dev environments. Use when creating certs, validating CSRs, generating chains, formatting PEM."
version: "3.0.0"
author: "BytesAgain"
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: ["ssl","certificate","tls","openssl","security","developer"]
categories: ["Developer Tools", "Utility"]
---

# SSLGen — SSL Certificate Generator

Generate, inspect, and verify SSL/TLS certificates from the command line. Powered by OpenSSL.

## Commands

| Command | Description |
|---------|-------------|
| `self-signed <domain>` | Generate a self-signed certificate + private key (RSA 2048, 365 days, with SANs) |
| `csr <domain>` | Generate a Certificate Signing Request + private key |
| `info <certfile>` | Show full certificate details (subject, issuer, SANs, fingerprint, algorithm) |
| `verify <certfile>` | Verify certificate validity and check expiration status |
| `chain <certfile>` | Display the certificate chain (splits PEM bundles) |
| `expiry <certfile>` | Check certificate expiry date with color-coded warnings |

## Examples

```bash
# Generate a self-signed cert for local dev
sslgen self-signed myapp.local
# → Creates myapp.local.key + myapp.local.crt

# Generate a CSR for production
sslgen csr example.com
# → Creates example.com.key + example.com.csr

# Inspect a certificate
sslgen info /etc/ssl/certs/server.crt

# Check if cert is expiring soon
sslgen expiry server.crt

# Verify a certificate
sslgen verify server.crt

# View cert chain
sslgen chain fullchain.pem
```

## Requirements

- `openssl` — must be installed and in PATH

## Output

- `self-signed` and `csr` create files in the current directory named `<domain>.key`, `<domain>.crt`, or `<domain>.csr`
- All other commands output to stdout with color-coded status indicators
- Expiry warnings: green (90+ days), yellow (30-90 days), red (<30 days), expired

Files in this skill

  • SKILL.md1.9 KB
  • scripts/script.sh8.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.