|
|
# Generating SSL Certificates
|
|
|
# Generating SSL Certificates for testing purposes
|
|
|
Generating Certificates for JetConf Server and Client using [OpenSSL](https://www.openssl.org/). Example certificates can be found in `data` [subdirectory](https://gitlab.labs.nic.cz/labs/jetconf/tree/master/data) in JetConf repository
|
|
|
|
|
|
[Install OpenSSL](https://github.com/openssl/openssl), if not installed.
|
... | ... | @@ -6,14 +6,25 @@ Generating Certificates for JetConf Server and Client using [OpenSSL](https://ww |
|
|
$ sudo apt-get install openssl
|
|
|
```
|
|
|
|
|
|
## JetConf Server Certificate
|
|
|
## Server Certificate
|
|
|
To generate a new server certificate for Jetconf, which will be in the correct
|
|
|
form and accepted even by the more pedantic web browsers like Chrome, just run
|
|
|
the provided `gen_server_cert.sh` script placed in [JetConf repository](https://gitlab.labs.nic.cz/labs/jetconf) in `utils/cert_gen` subdirectory.
|
|
|
|
|
|
The script can used in two following ways.
|
|
|
|
|
|
```bash
|
|
|
$ ./gen_server_cert.sh <out_file_suffix> <domain/ip>
|
|
|
```
|
|
|
or
|
|
|
```bash
|
|
|
$ openssl
|
|
|
$ ./gen_server_cert.sh <out_file_suffix> <domain/ip> <server_key>
|
|
|
|
|
|
```
|
|
|
|
|
|
## Client Certificate
|
|
|
This certificate is used to authenticate client.
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
$ openssl
|
... | ... | |