Error: DynamoDB Network Error: self signed certificate in chain
Answered by Rafal Wilinski
Solution
Explanation: DynamoDB SDK/CLI has a problem negotiating SSL with AWS' servers.
Troubleshooting steps:
- If you're running this command behind a firewall, make sure it's not blocking for modiyfing requests to the AWS. Try disabling the firewall and try again
- If you're using Node.js, you can try setting NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0.
- Disable SSL (not recommended)
- If you're using Node.js, you might also want to import the certificate manually:
const https = require('https'); const fs = require('fs'); const customAgent = new https.Agent({ ca: fs.readFileSync('/etc/ssl/path/to/your/certificate/myCustomCA.pem')}); AWS.config.update({ httpOptions: { agent: customAgent } });
Other Common DynamoDB Errors (with Solutions)
- dynamodb property projection cannot be empty
- accessdeniedexception dynamodb
- DynamoDB No Provisioned Throughput specified for the table
- DynamoDB Internal Server Error
- dynamodb cannot read properties of undefined (reading 'bytelength')
- requested resource not found aws dynamodb
- dynamodb could not be mapped for type string
- DynamoDB Mapper Could Not Instantiate Class
- DynamoDB GetItem no item
- dynamodb cannot read property 's' of undefined
- Unable to start DynamoDB Local process
- dynamodb value cannot be null. (parameter 'type')
- does not support attribute type arn aws dynamodb
- dynamodb could not load credentials from any providers
- DynamoDB throttling error
Better DynamoDB experience.
First 7 days are. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase