Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
This is an archived project. Repository and other project resources are read-only.
# Generating SSL Certificates for testing purposes
# 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.
This tutorial explains how to generate self-signed certificates for the JetConf server and clients 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.
```bash
$ sudo apt-get install openssl
To start with, check that OpenSSL is installed. If not, it should be available as a package for your operating system.
```
Two bash scripts placed in [JetConf repository](https://gitlab.labs.nic.cz/labs/jetconf/tree/master/utils/cert_gen) in `utils/cert_gen` directory are provided:
*`gen_server_cert.sh` is used once for generating the server certificate.
*`gen_client_cert.sh` is used repeatedly for creating client certificates.
Their usage is described below.
<divclass="panel panel-warning">
**Warning**
{: .panel-heading}
<divclass="panel-body">
Two bash scripts placed in [JetConf repository](https://gitlab.labs.nic.cz/labs/jetconf/tree/master/utils/cert_gen) in `utils/cert_gen` directory are provided. First script `gen_server_cert.sh` for generating server certificate and second script `gen_client_cert.sh` for creating client certificate. Their usage is described below.
Self-signed certificates are of course not considered trustworthy by common web
browsers and operating systems, so they are only suitable for testing.
**WARNING: Such certificates are of course not considered trustworthy by common web
</div>
browsers and operating systems, they are only suitable for testing.**
</div>
## Certification Authority (CA)
## Certification Authority (CA)
To generate server and client certificates, you need to have CA like certificate to sign these certificates.
To generate server and client certificates, you need to have CA like certificate to sign these certificates.