... | ... | @@ -29,6 +29,15 @@ Generate `ca.pem` certificate. [more](https://www.openssl.org/docs/manmaster/man |
|
|
```bash
|
|
|
$ openssl req -x509 -new -nodes -key ca.key -sha256 -days 1024 -out ca.pem
|
|
|
```
|
|
|
Example CA setting to work with `gen_client_cert.sh` and `gen_server_cert.sh` scripts
|
|
|
* Country Name (2 letter code) [AU]:CZ
|
|
|
* State or Province Name (full name) [Some-State]:
|
|
|
* Locality Name (eg, city) []:
|
|
|
* Organization Name (eg, company) [Internet Widgits Pty Ltd]:Example CA
|
|
|
* Organizational Unit Name (eg, section) []:exca.cz
|
|
|
* Common Name (e.g. server FQDN or YOUR name) []:mail@exca.cz
|
|
|
* Email Address []:
|
|
|
|
|
|
|
|
|
**WARNING: Generated CA like certificate is only for testing purposes. Do not importing this certificate to your browser as trusted and never use server and client certificates signed by this CA like certificate in real operation of applications.**
|
|
|
|
... | ... | |