- It is recommended to set your system clock to 1993/01/01 00:00:00 before generating any certificates to avoid the error ERR_CERT_VALIDITY_TOO_LONG.
- Execute "Step1-generate ca certificate.bat". Once the CA certificate has been generated, there is no need to generate it again.
- Modify the values of "commonName" and "subjectAltName" in "server.cnf", then execute "Step2-generate server certificate.bat"
- Trust "ca.crt" on your device, and deploy "ca.crt", "server.crt", "server.key" to your server.
somanchiu/generate-self-signed-certificate
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|