Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Oliver C.
11 years agoNew member | Level 1
Test webhooks implementation with self-signed certificate?
I'm setting up use of Dropbox webhooks in a web application. I'd like to do the development on my local machine. I can access my local machine via https from the Internet, but when I try to add the URL as a webhook URI I found that it requires the SSL certificate to not be self-signed. Is there a way to do testing on a local machine with a self-signed certificate? The error message (which contains the actual URL I used) is below. After complaining about the cert it also says there is no response body, but I'm guessing this is because it didn't even get as far as checking the body (I've tested my URL by loading it directly in a browser and via wget from a remote server).
Error: SSL certificate problem: self signed certificate
Response:
(No headers)
Response Body (First 256 bytes):
(No response body)
2 Replies
Replies have been turned off for this discussion
- Steve M.11 years ago
Dropbox Staff
We do certificate validation to ensure we're talking to the right server. (Otherwise a man-in-the-middle attack could intercept your webhooks.) So for now you'll need to use a non-self-signed cert for that domain.
But we'll track this as a feature request.
- Greg-DB11 years ago
Dropbox Community Moderator
[Cross-linking with StackOverflow: http://stackoverflow.com/questions/27716164/test-dropbox-webhooks-implementation-with-self-signed-certificate ]
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!