Error: DynamoDB Network Error: self signed certificate in chain
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 Failed To Compute Node presentation
- DynamoDB table not updating
- dynamodb value cannot be null. (parameter 'type')
- dynamodb the table does not have the specified index
- dynamodb-admin is not recognized as an internal or external command
- ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string
- DynamoDB Code Working In Node But Not SAM
- dynamodb index not found
- Error ValidationException: One or more parameter values were invalid: Type mismatch for key X expected: S actual: M
- DynamoDB Local Cannot Create Preexisting Table
- DynamoDB validation error
- dynamodb item size limit error
- failed to list tables not authorized dynamodb
- dynamodb cannot read property 'push' of undefined
- Unable to start DynamoDB Local process
Tired of AWS Console? Try Dynobase.
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2023 Dynobase