mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
* chore: update dependencies 17.07.2024 * chore: update tokio-rustls 0.26 * chore: update dependencies 19.07.2024
363 B
363 B
Generate the EC private key in SEC1 format
openssl ecparam -name prime256v1 -genkey -noout -out ec_key.pem
Create a certificate signing request (CSR)
openssl req -new -key ec_key.pem -out ec_csr.pem
Generate the self-signed certificate
openssl x509 -req -in ec_csr.pem -signkey ec_key.pem -out ec_cert.pem -days 365