seansfkelley / nas-download-manager

An open source browser extension for adding/managing download tasks to your Synology DiskStation.
255 stars 46 forks source link

Certificate errors crop up as "probable wrong hostname/port" errors #16

Closed seansfkelley closed 7 years ago

seansfkelley commented 7 years ago

If you have e.g. a self-signed cert you haven't accepted on your system/browser, the extension's connection will fail, but it will fail with the "wrong hostname/port" message, which is misleading.

seansfkelley commented 7 years ago

Theoretically possible with the old APIs, but I'm trying to avoid those: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/How_to_check_the_secruity_state_of_an_XMLHTTPRequest_over_SSL