openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
Category: Self-Hosting
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt
Create a self-signed TLS certificate valid for 365 days — useful for internal services and local
Generates a self-signed certificate that browsers will warn about but which provides encrypted transport. Perfect for internal services.