- 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.
-
Notifications
You must be signed in to change notification settings - Fork 0
somanchiu/generate-self-signed-certificate
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No more ERR_CERT_AUTHORITY_INVALID, ERR_CERT_COMMON_NAME_INVALID, and ERR_CERT_VALIDITY_TOO_LONG
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published