By caseyquinn
I’m able to push files via a PUT request in POSTMAN and python requests, but haven’t been successful with an ESP32 device. It’s unclear what port is being used by POSTMAN and python requests. Also it is unclear if the error has to do with trying to establish a connection without a cert or private key. Any suggestions would be appreciated.
A blog post shows to use AWS with a similar device in the link below requires adding in the certificates, but not sure how to do this with DO or if it is really required.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
To troubleshoot issues with your ESP32 device, you may want to consider checking the following:
Port: Typically, HTTPS (HTTP over SSL/TLS) uses port 443, whereas unsecured HTTP uses port 80. Make sure you’re using the correct port for the connection.
Certificates: SSL/TLS certificates are commonly needed for HTTPS connections. You can obtain a certificate for your domain and add it to your DigitalOcean server. A convenient option is using a free certificate from Let’s Encrypt.
Consult the DigitalOcean Spaces API documentation to understand the correct way of making requests: DigitalOcean Spaces API Documentation.
For your ESP32 device, you should consult the device’s documentation or community forums for specific instructions regarding SSL/TLS certificate implementation and using HTTPS requests. I hope this helps! Let me know if you need further assistance.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.