Giter Site home page Giter Site logo

Comments (4)

kinichiro avatar kinichiro commented on July 16, 2024

Hi,

If you move /usr/local/etc/libressl/cert.pem to
/usr/local/etc/libressl/certs/, this issue will be solved.

The cert.pem should be placed into $OPENSSLDIR/certs/ .

In my CentOS7, with OpenSSL 1.0.2, OPENSSLDIR is set to /usr/lib/ssl/
and this directory and certs/ under this directory contain like this.

$ ls /usr/lib/ssl/
certs  misc  openssl.cnf  private
$
ls /usr/lib/ssl/certs/
00673b5b.0
02265526.0
...
9f533518.0
ACCVRAIZ1.pem
ACEDICOM_Root.pem
... (many *.pem files are listed) ...
thawte_Primary_Root_CA.pem
thawte_Primary_Root_CA_-_G2.pem
thawte_Primary_Root_CA_-_G3.pem
$

It seems that both OpenSSL and LibreSSL search CA files
from $OPENSSLDIR/certs/.

BTW, according to tls/Makefile.am,
libtls expect cert.pem is placed under the OPENSSLDIR

...
Makefile.am:libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
...

This might be a conflict between openssl command and libtls API.

Best Regards,

from openbsd.

kinichiro avatar kinichiro commented on July 16, 2024

OpenSSL had fixed this by this commit.
openssl/openssl@fe9b85c

from openbsd.

busterb avatar busterb commented on July 16, 2024

Thanks, I forwarded the patch for this to [email protected] for review.

from openbsd.

busterb avatar busterb commented on July 16, 2024

Fix applied, thanks! c69dd72

from openbsd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.