OpenSSL
БесплатноБез исполняемых скриптовНе проверенExpert guidance for OpenSSL operations including certificate generation, key management, CSR creation, certificate verification, encryption, and PKI…
Об этом скилле
OpenSSL
Expert assistance with OpenSSL cryptographic operations and PKI management.
Key Generation
RSA Keys
# Generate RSA private key (2048-bit)
openssl genrsa -out private.key 2048
# Generate RSA private key (4096-bit, more secure)
openssl genrsa -out private.key 4096
# Generate encrypted RSA private key
openssl genrsa -aes256 -out private.key 4096
# Extract public key from private key
openssl rsa -in private.key -pubout -out public.key
# Remove passphrase from encrypted key
openssl rsa -in encrypted.key -out decrypted.key
EC (Elliptic Curve) Keys
# List available curves
openssl ecparam -list_curves
# Generate EC private key (P-256)
openssl ecparam -name prime256v1 -genkey -noout -out ec-private.key
# Generate EC private key (P-384, more secure)
openssl ecparam -name secp384r1 -genkey -noout -out ec-private.key
# Extract public key
openssl ec -in ec-private.key -pubout -out ec-public.key
Certificate Signing Requests (CSR)
Create CSR
# Create CSR from existing private key
openssl req -new -key private.key -out request.csr
# Create CSR with inline subject
openssl req -new -key private.key -out request.csr \
-subj "/C=US/ST=State/L=City/O=Organization/CN=example.com"
# Generate private key and CSR in one command
openssl req -newkey rsa:2048 -nodes -keyout private.key -out request.csr
# Create CSR with SAN (Subject Alternative Names)
openssl req -new -key private.key -out request.csr -config san.cnf
SAN Configuration File (san.cnf)
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
[req_distinguished_name]
CN = example.com
[v3_req]
subjectAltName = @alt_names
[alt_names]
DNS.1 = example.com
DNS.2 = www.example.com
DNS.3 = api.example.com
IP.1 = 192.168.1.1
View CSR
# Display CSR details
openssl req -in request.csr -noout -text
# Verify CSR signature
openssl req -in request.csr -noout -verify
Self-Signed Certificates
Create Self-Signed Certificate
# Generate self-signed certificate (1 year validity)
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
# Generate self-signed certificate without passphrase
openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365
# From existing key
openssl req -x509 -key private.key -out cert.pem -days 365
# With specific subject
openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365 \
-subj "/C=US/ST=State/L=City/O=Org/CN=example.com"
Certificate Authority (CA) Operations
Create Root CA
# Generate CA private key
openssl genrsa -aes256 -out ca-key.pem 4096
# Create CA certificate
openssl req -x509 -new -nodes -key ca-key.pem -sha256 -days 3650 \
-out ca-cert.pem -subj "/C=US/O=MyOrg/CN=MyOrg Root CA"
Sign Certificate with CA
# Sign CSR with CA
openssl x509 -req -in request.csr -CA ca-cert.pem -CAkey ca-key.pem \
-CAcreateserial -out cert.pem -days 365 -sha256
# Sign with extensions (SAN)
openssl x509 -req -in request.csr -CA ca-cert.pem -CAkey ca-key.pem \
-CAcreateserial -out cert.pem -days 365 -sha256 -extensions v3_req -extfile san.cnf
Create Intermediate CA
# Generate intermediate CA key
openssl genrsa -aes256 -out intermediate-key.pem 4096
# Create intermediate CSR
openssl req -new -key intermediate-key.pem -out intermediate.csr
# Sign intermediate certificate with root CA
openssl x509 -req -in intermediate.csr -CA ca-cert.pem -CAkey ca-key.pem \
-CAcreateserial -out intermediate-cert.pem -days 1825 -sha256
# Create certificate chain
cat intermediate-cert.pem ca-cert.pem > chain.pem
Certificate Inspection & Verification
View Certificate Details
# Display certificate details
openssl x509 -in cert.pem -noout -text
# Show specific fields
openssl x509 -in cert.pem -noout -subject
openssl x509 -in cert.pem -noout -issuer
openssl x509 -in cert.pem -noout -dates
openssl x509 -in cert.pem -noout -serial
openssl x509 -in cert.pem -noout -fingerprint
# Check expiration
openssl x509 -in cert.pem -noout -enddate
# Show in human-readable format
openssl x509 -in cert.pem -text -noout
Verify Certificates
# Verify certificate against CA
openssl verify -CAfile ca-cert.pem cert.pem
# Verify certificate chain
openssl verify -CAfile ca-cert.pem -untrusted intermediate-cert.pem cert.pem
# Check if certificate and key match
openssl x509 -noout -modulus -in cert.pem | openssl md5
openssl rsa -noout -modulus -in private.key | openssl md5
Test SSL/TLS Connection
# Connect to server and show certificate
openssl s_client -connect example.com:443 -showcerts
# Test specific protocol
openssl s_client -connect example.com:443 -tls1_2
openssl s_client -connect example.com:443 -tls1_3
# Test with SNI
openssl s_client -connect example.com:443 -servername example.com
# Check certificate expiration remotely
echo | openssl s_client -connect example.com:443
Установить OpenSSL в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл OpenSSL?
Expert guidance for OpenSSL operations including certificate generation, key management, CSR creation, certificate verification, encryption, and PKI operations. Use this when working with SSL/TLS certificates, cryptographic keys, or PKI infrastructure.
Как установить скилл OpenSSL?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл OpenSSL запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic