Installing lynx with SSL support? No bundle.crt file

I have installed Lynx Version 2.8.9rel.1 from the package.

When the package installs, it says to read the "
/usr/local/share/doc/lynx/docs/README.sslcerts" for instructions about adding SSL support. It appears I'm getting stuck where openssl can't find the "bundle.crt" file (see below)?

1.) cd /etc/ssl/certs

2.) sudo lynx http://caunter.ca/ssl.certs.shar

3.) sudo sh ssl.certs.shar

4.) sudo openssl pkcs7 -inform DER -in bundle.crt -outform PEM -out cert.pem -print_certs -text

Can't open "bundle.crt" for reading, No such file or directory
10B0456E753D0000:error:80000002:system library:BIO_new_file:No such file or directory:/usr/src/crypto/openssl/crypto/bio/bss_file.c:67:calling fopen(bundle.crt, rb)
10B0456E753D0000:error:10000080:BIO routines:BIO_new_file:no such file:/usr/src/crypto/openssl/crypto/bio/bss_file.c:75:

When I search my system for the bundle.crt file (sudo find / -iname bundle.crt) , it doesn't seem to exist.

Suggestions?

Thank you,
Ed
 
# pkg install ca_root_nss
# ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem

/usr/local/etc/lynx.cfg:
Code:
SSL_CERT_FILE:/usr/local/share/certs/ca-root-nss.crt
 
  • Like
Reactions: bjs
# pkg install ca_root_nss
# ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem

/usr/local/etc/lynx.cfg:
Code:
SSL_CERT_FILE:/usr/local/share/certs/ca-root-nss.crt
Thank you.

I don't know if it's a problem but when I create the link, it says the cert.pem already exists:

ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem
ln: /etc/ssl/cert.pem: File exists

Thoughts?

Ed
 
It looks like I needed to first delete the existing .pem file. and then creating the link works fine.

Is that correct?

Thank you,
Ed
 
I think so, thank you. I've tried a variety of web sites, and lynx doesn't seem to complain.

So...I "guess" it works.

:-)

Ed
 
Back
Top