To make use of the new entry STAC_API_IO_CA_BUNDLE you have to set the variable to the value of either CURL_CA_BUNDLE or REQUESTS_CA_BUNDLE or a custom file path to a certificate bundle when working behind a proxy server with custom certificatebefore making a STAC requests (i.e., using the Mapper with Settings.USE_STAC == True):
from eodal.config import get_settings
import os
Settings = get_settings()
Settings.STAC_API_IO_CA_BUNDLE = os.environ.get('CURL_CA_BUNDLE')
This does not apply when there's no self-signed certificate. In this case you can continue working as usual and no modifications in the code are required.
This merge request implements and resolves #27.
To make use of the new entry
STAC_API_IO_CA_BUNDLE
you have to set the variable to the value of eitherCURL_CA_BUNDLE
orREQUESTS_CA_BUNDLE
or a custom file path to a certificate bundle when working behind a proxy server with custom certificate before making a STAC requests (i.e., using theMapper
withSettings.USE_STAC == True
):This does not apply when there's no self-signed certificate. In this case you can continue working as usual and no modifications in the code are required.