You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save this snippet to create_new_cert.cmd file and run it as create_new_cert elabel.local. It will create new certificate named elabel.local.crt and corresponding key too. It will use DNS:elabel.local also for subjectAltName field of the certificate.
If run with two arguments (create_new_cert filename dnsname), it will create certificate with the corresponding filename and put DNS:dnsname into subjectAltName field of the certificate.
You may further tailor the script as you need.
The text was updated successfully, but these errors were encountered:
Did you also found a way to convert the cert and key files to C headers, so that one could create a complete Windows version of create_cert.sh that generates the same outputs? I don't have a Windows machine at hand, so I can't check that by myself.
Certificates can be created on Windows with OpenSSL like this:
First, generate CA certificate:
Then create cmd script with the following content:
Save this snippet to
create_new_cert.cmd
file and run it ascreate_new_cert elabel.local
. It will create new certificate namedelabel.local.crt
and corresponding key too. It will useDNS:elabel.local
also forsubjectAltName
field of the certificate.If run with two arguments (
create_new_cert filename dnsname
), it will create certificate with the corresponding filename and putDNS:dnsname
intosubjectAltName
field of the certificate.You may further tailor the script as you need.
The text was updated successfully, but these errors were encountered: