Persistent SSL problems when enabling conda install through web proxy

I have the following condarc file to enable Conda installs through our web proxy and to hopefully resolve SSL errors. However, I am still getting SSL errors.

c:/Users/User.Name/.condarc
---------------------------
channels:
  - defaults

# From /a/68724703/2153235
proxy_servers:
  http: webproxy.My.Organization.ca:8080
  https: webproxy.My.Organization.ca:8080

ssl_verify: C:UsersUser.NameCertificatesMWGProxyRootCA.crt
# Result of
# https://aafaqueabdullah.wordpress.com/2017/04/10/ssl-authentication:
#    conda config --set ssl_verify True
#    conda config --set ssl_verify C:UsersUser.NameCertificatesMWGProxyRootCA.crt

The web proxy URL is from the Windows proxy settings. The ssl_verify file is created as follows:

  • Use Chrome to visit an Anaconda package page, e.g.,
    https://anaconda.org/conda-forge/ascii_graph
  • Click on the lock icon to the left of the URL
  • In the resulting menu, click on “Connection is secure”
  • In the resulting panel, click on “Certificate is valid”
  • In the resulting panel, select the Details tab
  • In the “Certificate Hierarchy” section, choose MWGProxyRootCA
  • Click the Export button on the bottom right, then provide a
    target path when prompted

Here is the SSL error:

(base) C:>conda activate TestEnv (TestEnv)
C:>conda install -c conda-forge ascii_graph
Collecting package metadata
(current_repodata.json): failed

CondaSSLError: Encountered an SSL error. Most
likely a certificate verification issue.

Exception:
HTTPSConnectionPool(host='conda.anaconda.org',
port=443): Max retries exceeded with url:
/conda-forge/win-64/current_repodata.json
(Caused by
SSLError(SSLCertVerificationError(1, '[SSL:
CERTIFICATE_VERIFY_FAILED] certificate verify
failed: unable to get local issuer certificate
(_ssl.c:1006)')))

In the condarc file, if I prefix the web proxy URLs with http:// and https://, I get a different error:

(base) C:>conda activate TestEnv

(TestEnv) C:>conda install -c conda-forge ascii_graph
Collecting package metadata (current_repodata.json): failed

ProxyError: Conda cannot proceed due to an
error in your proxy configuration.  Check for
typos and other configuration errors in any
'.netrc' file in your home directory, any
environment variables ending in '_PROXY', and
any other system-wide proxy configuration
settings.

None of these errors seem to be affected by whether I append a trailing / to the web proxy URLs.

I followed a colleague’s advice and issued conda update conda from the base environment of a newly launched Conda prompt, and from a different network than the one requiring proxy. All went well, but the above problems persist.

I would like to avoid the solutions requiring a user name and password, and solutions requiring environment variables. I would rather embed any solutions in condarc and forget about it.

I am not a networking person. What should my next step be? If I need to talk to a networking person, what should I ask?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật