diff options
author | AndyWalshe <andy.walshe@est.tech> | 2019-04-09 14:05:08 +0000 |
---|---|---|
committer | AndyWalshe <andy.walshe@est.tech> | 2019-04-09 14:05:08 +0000 |
commit | 389cbad40747ac6c323c216bae090e99abbfbd02 (patch) | |
tree | d589287fd4c8518e119f1a0ec3cc77b3c180aac4 /test/mocks/pnf-onboarding/pom.xml | |
parent | f2a0cfdc146805275c6f6c869fd75e5c3c342cbb (diff) |
Removing need for bash script
Change-Id: I447ed1d0e791ee38f4434d78a450edc02c222816
Issue-ID: INT-949
Signed-off-by: AndyWalshe <andy.walshe@est.tech>
Diffstat (limited to 'test/mocks/pnf-onboarding/pom.xml')
-rw-r--r-- | test/mocks/pnf-onboarding/pom.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/test/mocks/pnf-onboarding/pom.xml b/test/mocks/pnf-onboarding/pom.xml index 569d1e2e4..7f513eb00 100644 --- a/test/mocks/pnf-onboarding/pom.xml +++ b/test/mocks/pnf-onboarding/pom.xml @@ -128,11 +128,21 @@ </execution> </executions> <configuration> - <executable>src/main/scripts/generate-signature.sh</executable> + <executable>openssl</executable> <arguments> - <argument>src/main/resources/securityContent/sample-pnf.cert</argument> - <argument>src/main/resources/securityContent/sample-pnf-private-key.pem</argument> + <argument>cms</argument> + <argument>-sign</argument> + <argument>-binary</argument> + <argument>-nocerts</argument> + <argument>-outform</argument> + <argument>pem</argument> + <argument>-signer</argument> + <argument>${project.basedir}/src/main/resources/securityContent/sample-pnf.cert</argument> + <argument>-inkey</argument> + <argument>${project.basedir}/src/main/resources/securityContent/sample-pnf-private-key.pem</argument> + <argument>-in</argument> <argument>${project.build.directory}/signed-csar/${csar.name}.csar</argument> + <argument>-out</argument> <argument>${project.build.directory}/signed-csar/${csar.name}.cms</argument> </arguments> </configuration> |