Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lynx SSL issues #517

Open
alcir opened this issue Jun 23, 2017 · 1 comment
Open

lynx SSL issues #517

alcir opened this issue Jun 23, 2017 · 1 comment
Assignees

Comments

@alcir
Copy link

alcir commented Jun 23, 2017

Lynx Version 2.8.8rel.2
Connecting to https sites, I always get a warning:

SSL error:Can't find common name in certificate

asking me if I want to continue.

Even using --dump option, I get:

lynx -dump https://www.google.com

Looking up www.google.com
Making HTTPS connection to www.google.com
SSL callback:ok, preverify_ok=1, ssl_okay=0
SSL callback:ok, preverify_ok=1, ssl_okay=0
SSL callback:ok, preverify_ok=1, ssl_okay=0
SSL callback:ok, preverify_ok=1, ssl_okay=0

lynx: Can't access startfile https://www.google.com/

I tried to export environment variables specifying CA certs location (if I'm doing it right).

  export SSL_CERT_DIR="/opt/local/etc/openssl/certs"
  export SSL_CERT_FILE="/opt/local/share/mozilla-rootcerts/cacert.pem"

But whitout success.

@mamash mamash self-assigned this Mar 16, 2018
@mamash
Copy link

mamash commented Mar 16, 2018

Sorry about the wait on this. Have you actually run mozilla-rootcerts install on this system? The mozilla-rootcerts package provides the necessary certificates, but doesn't create the bundle out of the box. It does warn about this when you install the package, but you may have missed the memo if you used e.g. pkgin to install a bunch of packages at the same time.

See pkg_info mozilla-rootcerts.

Anyway, I can't reproduce the problem after I run mozilla-rootcerts install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants