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>
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 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 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 @@
copy_certificates
build_image
push_image
-cleanup
\ No newline at end of file
+cleanup