packages/twenty-server/scripts/ssl-generation/README.md
This Bash script helps generate self-signed SSL certificates for local development. It uses OpenSSL to create a root certificate authority, a domain certificate, and configures them for local usage.
To generate certificates using the default values:
./script.sh
localhost.com.myRootCertificate.398 days.Using Default Values:
./script.sh
Custom Domain Name:
./script.sh example.com
Custom Domain Name and Root Certificate Name:
./script.sh example.com customRootCertificate
Custom Domain Name, Root Certificate Name, and Validity Days:
./script.sh example.com customRootCertificate 398
~/certs/{domain}.The generated files are stored in ~/certs/{domain}:
{root_cert_name}.key{root_cert_name}.pem{domain}.key{domain}.crt