diff options
author | Vijay VK <vv770d@att.com> | 2018-09-14 14:42:02 +0100 |
---|---|---|
committer | VENKATESH KUMAR <vv770d@att.com> | 2018-09-14 11:32:36 -0400 |
commit | 168d43a3e27255213140bde9b0c8087a95b85a36 (patch) | |
tree | 38e0332de2facaccfa520956bec70cf1b604eef3 /tls-init-container/Dockerfile-template | |
parent | 0912b37c4603a7fbf9ef4deda73849ae59ced885 (diff) |
adding dcae cert for test
Test DCAE certificates generated against AAF test (on pod25)
Combination of this TLScontainer and K8S plugin will be used
under OOM deployment to expose the certificate into service
requiring TLS support
The container itself will be updated to generate cert dynamically
(waiting on documentation from AAF team), until using pre-baked cert
for test
Files renamed and base64 encoded as below from default names
org.onap.dcae.jks -->cert.jks.b64
org.onap.dcae.trust.jks -->trust.jks.b64
Change-Id: I32a8d1eb0806b2e95b30d16b1f25034180be9df5
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Issue-ID: DCAEGEN2-591
Signed-off-by: VENKATESH KUMAR <vv770d@att.com>
Diffstat (limited to 'tls-init-container/Dockerfile-template')
-rw-r--r-- | tls-init-container/Dockerfile-template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tls-init-container/Dockerfile-template b/tls-init-container/Dockerfile-template index 5906311..a3c3a3f 100644 --- a/tls-init-container/Dockerfile-template +++ b/tls-init-container/Dockerfile-template @@ -17,6 +17,7 @@ # ============LICENSE_END=========================================================
FROM busybox
RUN mkdir -p /opt/tls/source && mkdir -p /opt/tls/shared
+RUN base64 -d ./tls/trust.jks.b64 > ./tls/trust.jks && base64 -d ./tls/cert.jks.b64 > ./tls/cert.jks && base64 -d ./tls/cert.p12.b64 > ./tls/cert.p12
COPY ./tls /opt/tls/source
COPY setup-tls.sh /opt/tls
-ENTRYPOINT ["/opt/tls/setup-tls.sh"]
\ No newline at end of file +ENTRYPOINT ["/opt/tls/setup-tls.sh"]
|