Project

General

Profile

Bug #30106

Fix DDNS using SSL when "Use SSL" is unchecked

Added by Peter Petrik about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Provider: dnsomatic.com
Use SSL: unchecked
Domain name: all.dnsomatic.com

Checking or unchecking "Use SSL" yields same error in /var/log/messages

In-a-dyn version 2.2 -- Dynamic DNS update client.
The certificate's owner does not match the hostname 'myip.dnsomatic.com'
SSL handshake with myip.dnsomatic.com failed: Error in the certificate.
Failed to get IP address for default@dnsomatic.com, giving up!

Going to http://myip.dnsomatic.com yields correct FreeNAS public IPv4 address.
Going to https://myip.dnsomatic.com - the provider has an SSL cert domain mismatch.

The error is therefore correct, but continues to use SSL even when the setting is unchecked.

Another FreeNAS instance uses identical settings in latest 9.10 and DDNS works as expected.

Associated revisions

Revision e700a003 (diff)
Added by Vladimir Vinogradenko about 1 year ago

fix(dyndns): Fix Dynamic DNS forces SSL connection to check client IP address

Ticket: #30106

Revision f6ef52e5 (diff)
Added by Vladimir Vinogradenko about 1 year ago

fix(dyndns): Fix Dynamic DNS forces SSL connection to check client IP address

Ticket: #30106

History

#1 Updated by Dru Lavigne about 1 year ago

  • Category changed from OS to Middleware
  • Assignee changed from Release Council to William Grzybowski
  • Target version set to 11.2-RC2

#2 Updated by William Grzybowski about 1 year ago

  • Assignee changed from William Grzybowski to Vladimir Vinogradenko
  • Target version changed from 11.2-RC2 to 11.3

#3 Updated by Vladimir Vinogradenko about 1 year ago

  • Status changed from Unscreened to Not Started

#4 Updated by Vladimir Vinogradenko about 1 year ago

  • Status changed from Not Started to In Progress

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Dynamic DNS forces SSL connection to check client IP address to Fix DDNS using SSL when "Use SSL" is unchecked
  • Target version changed from 11.3 to 11.2-BETA1
  • Needs Doc changed from Yes to No

#6 Updated by William Grzybowski about 1 year ago

  • Status changed from In Progress to Done

#7 Updated by Dru Lavigne about 1 year ago

  • Needs Merging changed from Yes to No

#8 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#9 Updated by Vladimir Vinogradenko 10 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Severity set to New

With "Use SSL" checked:

Jul  4 06:41:25 freenas inadyn[6454]: In-a-dyn version 2.2 -- Dynamic DNS update client.
Jul  4 06:41:25 freenas inadyn[6454]: Failed resolving hostname all.dnsomatic.com: hostname nor servname provided, or not known
Jul  4 06:41:25 freenas inadyn[6454]: The certificate's owner does not match the hostname 'myip.dnsomatic.com'
Jul  4 06:41:25 freenas inadyn[6454]: SSL handshake with myip.dnsomatic.com failed: Error in the certificate.
Jul  4 06:41:25 freenas inadyn[6454]: Failed to get IP address for default@dnsomatic.com, giving up!
Jul  4 06:41:25 freenas inadyn[6454]: Update forced for alias all.dnsomatic.com, new IP# 
Jul  4 06:41:26 freenas inadyn[6454]: Fatal error in DDNS server response:
Jul  4 06:41:26 freenas inadyn[6454]: [401 Unauthorized] badauth
Jul  4 06:41:26 freenas inadyn[6454]: Error response from DDNS server, exiting!
Jul  4 06:41:26 freenas inadyn[6454]: Error code 48: DDNS server response not OK

With "Use SSL" unchecked:
Jul  4 06:42:13 freenas inadyn[6673]: In-a-dyn version 2.2 -- Dynamic DNS update client.
Jul  4 06:42:13 freenas inadyn[6673]: Failed resolving hostname all.dnsomatic.com: hostname nor servname provided, or not known
Jul  4 06:42:13 freenas inadyn[6673]: Update forced for alias all.dnsomatic.com, new IP# 109.173.114.221
Jul  4 06:42:14 freenas inadyn[6673]: Fatal error in DDNS server response:
Jul  4 06:42:14 freenas inadyn[6673]: [401 Unauthorized] badauth
Jul  4 06:42:14 freenas inadyn[6673]: Error response from DDNS server, exiting!
Jul  4 06:42:14 freenas inadyn[6673]: Error code 48: DDNS server response not OK

#10 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF