LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DDNS Updates by Lynx (https://www.linuxquestions.org/questions/linux-networking-3/ddns-updates-by-lynx-520484/)

Notwerk 01-18-2007 07:35 AM

DDNS Updates by Lynx
 
Hello,

I created a new dynamic dns account at changeip.com and am trying to use Erc Ste-Marie's script in a crontab to automate the IP updates.

It was working for a while, but very recently it stopped for no reason i can think of except possibly some changes made on the changeip.com side.

When i run the script my log says:
Code:

Looking up www.changeip.com
Making HTTPS connection to www.changeip.com
Retrying connection without TLS.
Looking up www.changeip.com
Making HTTPS connection to www.changeip.com
Alert!: Unable to make secure connection to remote host.

lynx: Can't access startfile https://www.changeip.com/update.asp?u=[username_removed]&p=[password_removed]&cmd=update&set=1&offline=0

and it doesn't update the records.

However, if i run the same https:// etc... line through firefox i get a successful try and the results show up, boom, successful update.

Any ideas would be very welcome cause this is just silly.... :)

[EDIT]
Forgot to mention that I'm using lynx 2.8.5 on an FC3 - 2.6.9 box

Notwerk 01-18-2007 08:15 AM

Apparently I posted too quickly. Did a little more exploring and discovered that lynx was getting stuck at this prompt.
Code:

SSL error:unable to get local issuer certificate-Continue? (y)
And then asking for
Code:

SSL error:host(www.changeip.com)!=cert(*.changeip.com)-Continue? (y)
So i added FORCE_SSL_PROMPT:YES to /etc/lynx-site.cfg and this took care of the prompts, as lynx is auto-answering now with a "yes".


All times are GMT -5. The time now is 07:19 PM.