When trying to push Auspice json files to out private Nextstrain group: APHA-H5Nx-Avian-Influenza but run into this error:
‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Missing Authority Key Identifier (_ssl.c:1032)’)))
I followed the recommendation in this trouble shooting process (Issue #774 · nextstrain/ncov) and it still won’t work. I have pasted my commands and relevant outputs below. Any help would be appreciated:
(Nextstrain) benclifton@ranch-890:\~$ export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
(Nextstrain) benclifton@ranch-890:\~$ nextstrain remote upload Signin ‘/home/benclifton/mnt/VI6Storage/Nextstrain/2026-01-12/HA/Auspice/HA.json’
Uploading /home/benclifton/mnt/VI6Storage/Nextstrain/2026-01-12/HA/Auspice/HA.json as Signin
Traceback (most recent call last):
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connectionpool.py”, line 464, in \_make_request
self.\_validate_conn(conn)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connectionpool.py”, line 1093, in \_validate_conn
conn.connect()
\~\~\~\~\~\~\~\~\~\~\~\~^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connection.py”, line 741, in connect
sock_and_verified = \_ssl_wrap_socket_and_match_hostname(
sock=sock,
…<14 lines>…
assert_fingerprint=self.assert_fingerprint,
)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connection.py”, line 920, in *ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
sock=sock,
…<8 lines>…
tls_in_tls=tls_in_tls,
)
File "/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/util/ssl*.py", line 480, in ssl_wrap_socket
ssl_sock = *ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/util/ssl*.py", line 524, in \_ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/ssl.py”, line 455, in wrap_socket
return self.sslsocket_class.\_create(
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^
sock=sock,
^^^^^^^^^^
…<5 lines>…
session=session
^^^^^^^^^^^^^^^
)
^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/ssl.py”, line 1076, in \_create
self.do_handshake()
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/ssl.py”, line 1372, in do_handshake
self.\_sslobj.do_handshake()
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^
ssl.SSLCertVerificationError: \[SSL: CERTIFICATE_VERIFY_FAILED\] certificate verify failed: Missing Authority Key Identifier (\_ssl.c:1032)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connectionpool.py”, line 787, in urlopen
response = self.\_make_request(
conn,
…<10 lines>…
\*\*response_kw,
)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connectionpool.py”, line 488, in \_make_request
raise new_e
urllib3.exceptions.SSLError: \[SSL: CERTIFICATE_VERIFY_FAILED\] certificate verify failed: Missing Authority Key Identifier (\_ssl.c:1032)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/requests/adapters.py”, line 667, in send
resp = conn.urlopen(
method=request.method,
…<9 lines>…
chunked=chunked,
)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/connectionpool.py”, line 841, in urlopen
retries = retries.increment(
method, url, error=new_e, \_pool=self, \_stacktrace=sys.exc_info()\[2\]
)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/urllib3/util/retry.py”, line 519, in increment
raise MaxRetryError(\_pool, url, reason) from reason # type: ignore\[arg-type\]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=nextstrain.org, port=443): Max retries exceeded with url: /groups/APHA-H5Nx-Avian-Influenza/HA (Caused by SSLError(SSLCertVerificationError(1, ‘\[SSL: CERTIFICATE_VERIFY_FAILED\] certificate verify failed: Missing Authority Key Identifier (\_ssl.c:1032)’)))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/benclifton/miniforge3/envs/Nextstrain/bin/nextstrain”, line 10, in
sys.exit(main())
\~\~\~\~^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/**main**.py”, line 19, in main
return cli.run( argv\[1:\] )
\~\~\~\~\~\~\~^^^^^^^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/**init**.py”, line 37, in run
return opts.**command**.run(opts)
\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/console.py”, line 36, in decorated
return f(\*args, \*\*kwargs)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/command/remote/upload.py”, line 71, in run
for local_file, remote_file in uploads:
^^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/remote/nextstrain_dot_org.py”, line 283, in upload
put(endpoint, file, media_type)
\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/nextstrain/cli/remote/nextstrain_dot_org.py”, line 241, in put
response = http.put(
endpoint,
…<2 lines>…
“Content-Type”: media_type,
“Content-Encoding”: “gzip” })
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/requests/sessions.py”, line 649, in put
return self.request(“PUT”, url, data=data, \*\*kwargs)
\~\~\~\~\~\~\~\~\~\~\~\~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/requests/sessions.py”, line 589, in request
resp = self.send(prep, \*\*send_kwargs)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/requests/sessions.py”, line 703, in send
r = adapter.send(request, \*\*kwargs)
File “/home/benclifton/miniforge3/envs/Nextstrain/lib/python3.13/site-packages/requests/adapters.py”, line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=nextstrain.org, port=443): Max retries exceeded with url: /groups/APHA-H5Nx-Avian-Influenza/HA (Caused by SSLError(SSLCertVerificationError(1, ‘\[SSL: CERTIFICATE_VERIFY_FAILED\] certificate verify failed: Missing Authority Key Identifier (\_ssl.c:1032)’)))
(Nextstrain) benclifton@ranch-890:\~$ conda list -n Nextstrain | grep certif
ca-certificates 2026.1.4 hbd8a1cb_0 conda-forge
certifi 2026.1.4 pyhd8ed1ab_0 conda-forge