Use SSL for encrypting the connection 63/58363/3
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Tue, 29 May 2018 11:35:11 +0000 (13:35 +0200)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Wed, 1 Aug 2018 07:48:32 +0000 (09:48 +0200)
commita4becf29f32de7467793867c3be1d5ab5876477e
tree1e32d3e71188b36e712c8a8ac35c774da70537e1
parenta150bc08ad326699717e09903e42d462e5e9c935
Use SSL for encrypting the connection

Netty's OpenSSL bindings are used

Closes ONAP-179

Change-Id: I8249fbaaed1dd869b733db04a27cebf53962c80c
Issue-ID: DCAEGEN2-601
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
23 files changed:
.gitlab-ci.yml
hv-collector-core/pom.xml
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/boundary/adapters.kt
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/SecurityConfiguration.kt [new file with mode: 0644]
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/ServerConfiguration.kt
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/factory/ServerFactory.kt
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/socket/NettyTcpServer.kt [moved from hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/NettyTcpServer.kt with 78% similarity]
hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/socket/SslContextFactory.kt [new file with mode: 0644]
hv-collector-core/src/test/kotlin/org/onap/dcae/collectors/veshv/impl/socket/SslContextFactoryTest.kt [new file with mode: 0644]
hv-collector-core/src/test/resources/ssl/ca.crt [new file with mode: 0644]
hv-collector-core/src/test/resources/ssl/server.crt [new file with mode: 0644]
hv-collector-core/src/test/resources/ssl/server.key [new file with mode: 0644]
hv-collector-main/Dockerfile
hv-collector-main/pom.xml
hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfiguration.kt
hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/main.kt
hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/ArgBasedServerConfigurationTest.kt
hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/NioBuffersTest.kt
pom.xml
ssl/.gitignore [new file with mode: 0644]
ssl/Makefile [new file with mode: 0644]
ssl/README.md [new file with mode: 0644]
ssl/connect.sh [new file with mode: 0755]