diff options
author | 2018-12-12 08:14:57 +0100 | |
---|---|---|
committer | 2018-12-12 14:29:28 +0100 | |
commit | ccdbec825673153bd57681fa8e1e5a507f4f776b (patch) | |
tree | 5a08208daa706ad1d816be1ebd8bce3067e30f6a /ssl/README.md | |
parent | a239958522a9edd0951854884dd11a7ef5513ca4 (diff) |
Add helper scripts
Change-Id: I8d5b48511e1b7f9cb7d1f65e8605ebe4cf1b17fc
Issue-ID: DCAEGEN2-1027
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'ssl/README.md')
-rw-r--r-- | ssl/README.md | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/ssl/README.md b/ssl/README.md deleted file mode 100644 index c2819d24..00000000 --- a/ssl/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generating SSL certificates - -## Java keytool way (recommended) - -To generate: - -```shell -./gen-certs.sh -``` - -To clean (remove generated files): - -```shell -./gen-certs.sh clean -``` - -## OpenSSL way (currently might not work) - -> Add `-f Makefile-openssl` to each command - -Typical usage: - -```shell -make FILE=client -make FILE=server -``` - -or (to generate PKCS12 key and trust stores): - -```shell -make create-key-store FILE=client -make create-key-store FILE=server -make create-trust-store -``` - -Will generate CA certificate and signed client and server certificates. - -More "low-level" usage: - -```shell -make generate-ca-certificate -make generate-private-key FILE=client -make sign FILE=client -``` - -# Connecting to a server - -First generate *client* and *server* certificates. Then start a server with it's cert and make ca.crt a trusted certification authority. - -After that you can: - -```shell -./connect.sh client localhost:8600 < file_with_a_data_to_be_sent.dat -``` |