towfiqi / serpbear

Search Engine Position Rank Tracking App
https://docs.serpbear.com/
MIT License
1.45k stars 145 forks source link

Error sending notification #245

Closed djav1985 closed 2 weeks ago

djav1985 commented 1 month ago

I get the following log error about notifications being sent.

The SMTP server is set to mine at mail.vontainment.com but it's complaining that the certificates alt name is invalid.

For some reason is picking up my administrative panels subdomain...

Now my mail subdomain certificate does have mail.vontainment in the alt name... That's what I don't understand is why it's not working.

[0] [ERROR] Sending Notification Email for vontainment.com Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: mail.vontainment.com. is not in the cert's altnames: DNS:jupiter.vontainment.com 47 [0] at Object.checkServerIdentity (node:tls:337:12) 48 [0] at TLSSocket.onConnectSecure (node:_tls_wrap:1684:27) 49 [0] at TLSSocket.emit (node:events:518:28) 50 [0] at TLSSocket._finishInit (node:_tls_wrap:1085:8) 51 [0] at ssl.onhandshakedone (node:_tls_wrap:871:12) { 52 [0] code: 'ESOCKET', 53 [0] reason: "Host: mail.vontainment.com. is not in the cert's altnames: DNS:jupiter.vontainment.com", 54 [0] host: 'mail.vontainment.com', 55 [0] cert: { 56 [0] subject: [Object: null prototype] { CN: 'jupiter.vontainment.com' }, 57 [0] issuer: [Object: null prototype] { C: 'US', O: "Let's Encrypt", CN: 'R10' }, 58 [0] subjectaltname: 'DNS:jupiter.vontainment.com',

towfiqi commented 2 weeks ago

@djav1985 Looks like you are using the domain name jupiter.vontainment.com . You will have to insert the IP address of that domain.