Closed Tatsh closed 4 years ago
Your port should either make a symlink to curl-ca-bundle's at that location or it should install OpenSSL /etc/ files to
/opt/local/etc/openssl/
as the main tree port does.
Thanks for reporting! Do you have an idea if there's any reason to keep a $prefix/etc/openssl-1.1
version-specific directory?
I can't see one as OpenSSL is not a multi-version port.
I can't see one as OpenSSL is not a multi-version port.
It is in a sense as there is still an openssl-1.0 port which I think is required by some ports.
I am not sure if this is resolved but it looks like it is, as I only have /opt/local/etc/openssl
now and without setting SSL_CERT_FILE
environment variable, things still work. Closing.
Python (according to its ssl module) has the path set to a nonexistent path:
This can be checked with the following code:
The path for me is
/opt/local/etc/openssl/cert.pem
(which is a symlink to curl-ca-bundle's).This can be worked around by setting the
SSL_CERT_FILE
environment variable to the correct path.From the shell (abridged):
Your port should either make a symlink to curl-ca-bundle's at that location or it should install OpenSSL /etc/ files to
/opt/local/etc/openssl/
as the main tree port does.