- Newest
- Most votes
- Most comments
Greetings,
Kindly note that, I have tested the script mentioned in the link https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html#connect_programmatically-tls_enabled for the sample shell script that imports the certificate bundle into a trust store on macOS and I was able to do so successfully.
The error mentioned in your post is generally observed when the file is not present in the mentioned path or the path is not correct. Please follow below mentioned steps for your reference.
-
Go to /tmp folder in you Mac system : cd /tmp
-
Create a directory name certs if not present : mkdir certs
-
Go back to the working directory i.e. in which you intend to store the scripts and,
a. Create a shell script with any preferred name(e.g. testsh.sh) and copy the complete script mentioned in link : https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html#connect_programmatically-tls_enabled.
b. Provide the <truststorePassword> for the same and save the script
-
Now execute the script : ./testsh.sh
Following the above mentioned steps, you should be able to create a trust store named rds-truststore.jks under the folder /tmp/certs for your use case.
Thank you!
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 15 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago