elinks cert_verify option⚓︎
Issue⚓︎
elinks fails to open a TLS site due to a self-signed cert on https and throws “SSL error”. This is due to elinks not loading the OS Trust Anchors.
Solution⚓︎
There likely is a way to install the Trust Anchors, but we can also skip checking in a pinch by adding set connection.ssl.cert_verify = 0
to the elinks.conf file. Check elinks’ man for the correct path for this config.
Quote from Reference⚓︎
FWIW, the file is
~/.elinks/elinks.conf
(and doesn’t exist by default) and the syntax isset connection.ssl.cert_verify = 0
– this is very poorly documented.