Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY : docker-build docker-push release build-issuer-hsm build-apigw-saml build-apigw-oidcrp build-apigw-all test-saml test-oidcrp test-vc20 test-pkcs11 test-all-tags docker-build-apigw-saml docker-build-apigw-oidcrp docker-build-apigw-all docker-build-issuer-hsm
.PHONY : docker-build docker-push release build-issuer-hsm build-apigw-saml build-apigw-oidcrp build-apigw-all test-saml test-oidcrp test-vc20 test-pkcs11 test-all-tags docker-build-apigw-saml docker-build-apigw-oidcrp docker-build-apigw-all docker-build-issuer-hsm pki

NAME := vc
LDFLAGS := -ldflags "-w -s --extldflags '-static'"
Expand All @@ -8,6 +8,11 @@ SERVICES := verifier registry persistent mockas apigw issuer ui wallet verif
PORT := 8888
W3C_TEST_SUITE_DIR := /tmp/w3c-test-suite

pki:
$(info Setting up PKI)
cd pki/; ./create_pki.sh
cd developer_tools/; ./gen_ec_sign_key.sh; ./gen_rsa_sign_key.sh

test: test-verifier

test-verifier:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ linux/amd64 is consider supported, other build options may work.

`make restart`

### Setup PKI
`make pki`

## Swagger

### Endpoint
Expand Down
2 changes: 1 addition & 1 deletion pki/create_pki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ EOF
# remove any generated config files
if [ $conf_generated -eq 1 ]; then
rm ${service_name}.conf
rm ca.conf
rm -f ca.conf
fi
if [ $ext_generated -eq 1 ]; then
rm ${service_name}.ext
Expand Down
Loading