...
Create a certificate file:
Expand |
---|
title | Windows / Linux / macOs: |
---|
|
Open a command prompt window and go to the directory you created earlier for the public/private key file. For example:
Enter the path of the OpenSSL install directory, followed by the self-signed certificate algorithm. For example:
Code Block |
---|
c:openssl\bin\openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 |
Follow the instructions that appear in the screen. For example:
Code Block |
---|
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:CA
State or Province Name (full name) [Some-State]:Ontario
Locality Name (eg, city) []:Toronto
Organization Name (eg, company) [Internet Widgits Pty Ltd]:iNTERFACEWARE
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []: |
|
Expand |
---|
|
Open a command prompt window and go to the directory you created earlier for the public/private key file. For example:
Enter the path of the OpenSSL install directory, followed by the self-signed certificate algorithm. For example:
Code Block |
---|
/<path to openssl>/openssl/bin/openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095 |
Follow the instructions that appear in the screen. For example:
Code Block |
---|
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:CA
State or Province Name (full name) [Some-State]:Ontario
Locality Name (eg, city) []:Toronto
Organization Name (eg, company) [Internet Widgits Pty Ltd]:iNTERFACEWARE
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []: |
|
...