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 atomic counter not working
- DynamoDB scan filter expression not working
- Unable to start DynamoDB Local process
- DynamoDB Internal Server Error
- requested resource not found aws dynamodb
- dynamodb put item not working
- Float types are not supported. Use decimal types instead.
- dynamodb put function not working
- dynamodb cannot read properties of undefined
- is not authorized to perform dynamodb:* on resource
- DynamoDB Local Cannot Create Preexisting Table
- cannot find module 'dynamodb-doc'
- ConfigError: Missing region in config
- DynamoDB No Provisioned Throughput specified for the table
- AWS DynamoDB CredentialsError: Missing credentials in config
Tired of AWS Console? Try Dynobase.
First 7 days are on us. No strings attached.
Product Features
DynamoDB Tools
DynamoDB Info
© 2024 Dynobase