Skip to content

Commit 06eefd9

Browse files
authored
Fixing cert import issue and updating dependencies (#216)
1 parent e5561f7 commit 06eefd9

File tree

5 files changed

+5680
-2717
lines changed

5 files changed

+5680
-2717
lines changed

apigw-custom-domain/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
./sslcert/*
1+
sslcert

apigw-custom-domain/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install: ## Install dependencies
1111
@which serverless || npm install -g serverless
1212
@which localstack || pip install localstack
1313
@which awslocal || pip install awscli-local
14-
14+
1515
cert: ## Create test SSL certificate
1616
mkdir -p sslcert
1717
cd sslcert; \
@@ -25,7 +25,7 @@ run: ## Deploy the app locally and run an API GW test invocation
2525
echo "Generating and importing test SSL certificate to ACM for Route53 domain test.example.com"; \
2626
make cert; \
2727
echo "Importing local test certificate into ACM API ..."; \
28-
awslocal acm import-certificate --certificate file://sslcert/server.crt --private-key file://sslcert/ssl.key && \
28+
awslocal acm import-certificate --certificate fileb://sslcert/server.crt --private-key fileb://sslcert/ssl.key && \
2929
echo "Creating Route53 hosted zone for test domain 'test.example.com' ..."; \
3030
awslocal route53 create-hosted-zone --name test.example.com --caller-reference r1 && \
3131
echo "Deploying Serverless app to local environment"; \

0 commit comments

Comments
 (0)