Command Generator (openssl & curl)
Get ready-to-run openssl and curl commands for common tasks.
openssl req -x509 -newkey rsa:4096 -sha256 -days 365 -nodes \ -keyout key.pem -out cert.pem -subj "/CN=example.com"
Replace example.com / URLs with your own before running. Commands run in your own terminal.
Commands are generated in your browser; nothing runs on our servers.
About this tool
Free command generator. Produce correct openssl and curl one-liners for certificates, CSRs, TLS checks, random secrets and API calls — copy, adjust, run in your own terminal.
Frequently asked questions
Are these commands safe to run?
They are standard openssl/curl invocations. Replace example.com and any paths with your own values, and read before you run.
How do I check a certificate expiry?
Pick the TLS-check recipe and run it — it prints the subject, issuer and validity dates for the host you name.
Can I generate a CSR here?
Yes — choose the CSR recipe, run it on your server, and it produces a key and a certificate signing request.
Need more than a tool?
HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.