Skip to content

Commit 22c8308

Browse files
Rekicking pipeline
1 parent a3e09d4 commit 22c8308

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/guides/setting-up-a-new-consumer.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ per environment.
1212
- [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
1313
- [Access to Cloud Platform’s Kubernetes cluster](https://user-guide.cloud-platform.service.justice.gov.uk/documentation/getting-started/kubectl-config.html#installing-kubectl)
1414

15+
As a pre-requisite to create a client certificate by running the script below, please ensure that:
16+
- You are logged in so that you can access AWS resources via the CLI.
17+
- Verify that you have all your AWS credentials ready by opening the config file in the ".aws" directory.
18+
1519
## Create a client certificate
1620

1721
1. Run the [generate-client-certificate.sh](/scripts/client_certificates/generate.sh) script with the name of the environment and client.

scripts/client_certificates/generate.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ upload_backup() {
5151
aws s3api put-object --bucket "$bucket" --key "$client_folder/" --acl private
5252
aws s3 cp "$file_path" "s3://$path/client.pem"
5353
aws s3 cp ./"$environment"-"$client"-client.pem "s3://$path/client.pem"
54-
aws s3 cp ./truststore.key "s3://$path/truststore.key"
55-
aws s3 cp ./truststore.pem "s3://$path/truststore.pem"
54+
aws s3 cp ./"$environment"-"$client"-client.csr "s3://$path/client.csr"
55+
aws s3 cp ./"$environment"-"$client"-client.key "s3://$path/client.key"
5656

5757
aws configure set aws_access_key_id ""
5858
aws configure set aws_secret_access_key ""

0 commit comments

Comments
 (0)