Why do I encounter SSL certificate verification failed (result: 5) error for HTTP request?
Show older comments
I am using the HTTP request function in MATLAB on macOS. However, I received the following error
Error using matlab.net.http.RequestMessage/sendOneRequest (line 1337)
Secure connection to "https://some.website.url" not established because "SSL: certificate verification
failed (result: 5)". Check your system certificates for expired, missing, or invalid certificates.
Error in matlab.net.http.RequestMessage/sendAfterChallenge (line 1674)
[response, request, history] = obj.sendOneRequest(connector, options, ...
Error in matlab.net.http.RequestMessage/sendAndAuthenticate (line 1132)
obj.sendAfterChallenge(response, connector, ...
Error in matlab.net.http.RequestMessage/send (line 543)
obj.sendAndAuthenticate([], completedURI, [], connector, options, ...
Error in checkserver (line 7)
resp = send(req, uri);
Why does this issue occur and how can I solve it?
Accepted Answer
More Answers (0)
Categories
Find more on Call Web Services from MATLAB Using HTTP in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!