Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Commands
OpenSSL
Networking & security
OpenSSL Commands
TLS toolkit and crypto CLI.
All OpenSSL pages
openssl req -x509: create a self-signed certificate
Create a self-signed certificate and key in one step with openssl req -x509 -newkey ec -nodes -keyout key.pem -out cert.pem -days 365, plus -subj and SAN.
Esc