Adding cert files to support https
Adding cert files generated by AAF CA
Incorporating them into the docker build as well
Issue-ID: AAF-265
Change-Id: I1ee1e031bf058a0325fe2c6fe8eed5e3948d70e7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
diff --git a/sms-service/bin/build_quorum_image.sh b/sms-service/bin/build_quorum_image.sh
index 4691067..b26accf 100755
--- a/sms-service/bin/build_quorum_image.sh
+++ b/sms-service/bin/build_quorum_image.sh
@@ -27,8 +27,13 @@
cp ../target/quorumclient .
}
-function remove_binary {
+function copy_certificates {
+ cp ../src/sms/auth/aaf_root_ca.cer .
+}
+
+function cleanup {
rm quorumclient
+ rm aaf_root_ca.cer
}
function build_image {
@@ -51,6 +56,7 @@
}
generate_binary
+copy_certificates
build_image
push_image
-remove_binary
\ No newline at end of file
+cleanup
\ No newline at end of file