tympanix / Electorrent

A remote control client for µTorrent, qBittorrent, rTorrent, Transmission, Synology & Deluge
GNU General Public License v3.0
1.02k stars 84 forks source link

refuses to accept a self-signed certificate for no reason #331

Closed sthalik closed 1 year ago

sthalik commented 1 year ago

Client:

Client Version:

qBittorrent v4.5.2

Operating System:

FreeBSD 13.2-RELEASE

Application Version:

Electorrent 2.8.3

Description:

A balloon pops up saying that the certificate is for a different host name. It can't be overridden and the common name is actually fine.

subject=C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = 192.168.2.1
issuer=C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = 192.168.2.1
tympanix commented 1 year ago

Hi @sthalik.

The convention is to put the ipv4 addresses in the SAN of the certificate. Using the CN may work for some browsers, while Nodejs is more strict in their implementation.

sthalik commented 1 year ago

That did the trick. Thank you.