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 local is not available for stage dev
- dynamodb item size limit error
- dynamodb local unable to locate credentials
- DynamoDB VPC endpoint not working
- DynamoDB No Regionendpoint Or Serviceurl Configured
- the dynamodb service does not have version
- dynamodb-admin is not recognized as an internal or external command
- dynamodb ttl not deleting / erasing items
- DynamoDB string set cannot be empty
- DynamoDB ValidationException: Query condition missed key schema element
- dynamodb list_append if_not_exists not working
- dynamodb index not updated
- DynamoDB Auto Scaling Not Working
- dynamodb update fail if not exists
- accessdeniedexception dynamodb
Tired of switching accounts and regions? Use Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase