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)
- failed to list tables not authorized dynamodb
- failed to begin subsegment named 'amazondynamodbv2': segment cannot be found.
- dynamodb cannot read properties of undefined (reading 'bytelength')
- cognitoidentitycredentials is not authorized to perform dynamodb describetable
- aws lambda dynamodb nodejs not working after few puts
- DynamoDB Update Not Working
- dynamodb local shell not working
- dynamodb items page not authorized with read access
- aws.dynamodb.documentclient is not a constructor
- resourcenotfoundexception dynamodb nodejs
- lambda function not triggering from dynamodb
- DynamoDB Hostname Cannot Be Null
- name key is not defined dynamodb
- DynamoDB Error All Attributes Must Be Indexed
- Conditional Update Error DynamoDB
Tired of AWS Console? Try Dynobase.
Try 7-day free trial. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase