Open jewzaam opened 9 years ago
I think this is going to vary browser to browser, there are not any low level APIs in JavaScript unfortunately that I know of to deal with certs.
I think the best way to mitigate any cert confusion would be to improve error handling around communication with lightblue. From there we might be able to infer the possible problem(s) and provide suggestions to user.
Maybe display to the user that they could try directly going to the metadata svc /rest/metadata endpoint to force it. I'll note, after doing this the app started working and then later prompted me for the cert for the data request. It may be an issue just for metadata?