KilnVM Live Labs /lab/openssl-x509-cert-debugger
Step 1 of 3 Docs Build Your Own

Generate and Inspect X.509 SAN Certificates with OpenSSL

Create an ECDSA P-256 TLS certificate with Subject Alternative Names, inspect SHA-256 fingerprints, and verify key-to-cert alignment offline.

Step 1 of 3

Generate self-signed ECDSA P-256 certificate

/workspace/tls/san.cnf defines an X.509 SAN extension for api.example.internal and localhost. Generate an ECDSA P-256 private key and certificate:

bash
openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -nodes -keyout tls/server.key -out tls/server.crt -days 365 -config tls/san.cnf -extensions v3_req && openssl x509 -in tls/server.crt -noout -subject -dates

Click Check Step once verified.