How to tell `links` to ignore expired SSL certificate and proceed?

I'm using the links browser and trying to connect to an HTTPS site. I then get:

Verification failure: certificate has expired

this is "fine" (i.e. was decided to be tolerated) for this internal-only service, and other browsers allow to dismiss the error and try again.

How can I achieve the same in links and ignore the condition, that is: create an exception about the validity of this certificate.


Solution 1:

I've used this version for testing:

links from twibright labs

Just tried with the argument :

links.exe https://expired.badssl.com/ -ssl.certificates 0

And the alert is not coming, so Is a kind of creating an exception.