From c8719c06244e18355db7c52e5deee4acb398f5f1 Mon Sep 17 00:00:00 2001 From: Manjunath Ranganathaiah Date: Tue, 11 Sep 2018 09:11:06 -0700 Subject: Add import scripts to base image These scripts imports the CA key to either tpm or softhsm. Updates the pkcs11 config file and adds the required config for softhsm Change-Id: If45cfb514756bf4ab03081d458ed728921fa1d51 Issue-ID: AAF-483 Signed-off-by: Manjunath Ranganathaiah --- bin/base/xenialdockerfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin/base/xenialdockerfile') diff --git a/bin/base/xenialdockerfile b/bin/base/xenialdockerfile index f28ed0f..b786541 100644 --- a/bin/base/xenialdockerfile +++ b/bin/base/xenialdockerfile @@ -96,7 +96,13 @@ RUN mkdir tpm-util RUN cd tpm-util && \ mkdir bin RUN cp /sshsm/tpm-util/import/ossl_tpm_import /tpm-util/bin/ + RUN rm -rf tpm2-tss RUN rm -rf tpm2-abrmd RUN rm -rf tpm2-tools RUN rm -rf sshsm + +RUN mkdir -p /sshsm/bin +COPY ./import.sh /sshsm/bin +COPY ./softhsmconfig.sh /sshsm/bin +COPY ./application.sh /sshsm/bin -- cgit 1.2.3-korg