diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-04-26 21:57:47 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-04-26 21:57:52 -0700 |
commit | 9b0c49486855c84e3c24eeffdf71045748a0837b (patch) | |
tree | b14d690fbad1e647b8a4becd5b194b169ac55822 /sms-service | |
parent | 56a620d02f2b39ce64d07007902b53544d235a59 (diff) |
Updating files with root ca certificate
Previous patch was missing the root ca file.
Needed in case clients provide their own cert
Issue-ID: AAF-265
Change-Id: I4dcdf6d424e4837aadfc01fc7caba8df93623658
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service')
-rwxr-xr-x | sms-service/bin/build_sms_image.sh | 6 | ||||
-rw-r--r-- | sms-service/bin/smsdockerfile | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh index cd3663f..46685b6 100755 --- a/sms-service/bin/build_sms_image.sh +++ b/sms-service/bin/build_sms_image.sh @@ -28,6 +28,7 @@ function generate_binary { } function copy_certificates { + cp ../src/sms/auth/aaf_root_ca.cer . cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pem . cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pr . } @@ -35,7 +36,8 @@ function copy_certificates { function cleanup { rm sms rm aaf-sms.api.simpledemo.onap.org.pem - rm af-sms.api.simpledemo.onap.org.pr + rm aaf-sms.api.simpledemo.onap.org.pr + rm aaf_root_ca.cer } function build_image { @@ -61,4 +63,4 @@ generate_binary copy_certificates build_image push_image -cleanup
\ No newline at end of file +cleanup diff --git a/sms-service/bin/smsdockerfile b/sms-service/bin/smsdockerfile index 50704b2..14327dc 100644 --- a/sms-service/bin/smsdockerfile +++ b/sms-service/bin/smsdockerfile @@ -7,6 +7,7 @@ LABEL maintainer="vamshi krishna <vn00480215@techmahindra.com>" EXPOSE 10443 RUN mkdir -p /sms/auth +ADD aaf_root_ca.cer /sms/cert/aaf_root_ca.cer ADD aaf-sms.api.simpledemo.onap.org.pem /sms/cert/aaf-sms.api.simpledemo.onap.org.pem ADD aaf-sms.api.simpledemo.onap.org.pr /sms/cert/aaf-sms.api.simpledemo.onap.org.pr ADD sms /sms/bin/sms |