Message11398

Author jeff.allen
Recipients jeff.allen
Date 2017-05-23.19:32:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495567931.08.0.955908578992.issue2594@psf.upfronthosting.co.za>
In-reply-to
Content
I'm see this failure in test_ssl, but only when running from an installed Jython. I do not reproduce it in the development environment.

Did we forget to pack something?


======================================================================
ERROR: test_load_cert_chain (__main__.ContextTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\test\test_ssl.py", line 820, in test_load_cert_chain
    ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\ssl.py", line 1128, in load_cert_chain
    self._key_managers = _get_openssl_key_manager(certfile, keyfile, password, _key_store=self._key_store)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\ssl.py", line 1128, in load_cert_chain
    self._key_managers = _get_openssl_key_manager(certfile, keyfile, password, _key_store=self._key_store)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 121, in _get_openssl_key_manager
    _certs, _private_key = _extract_certs_for_paths([cert_file], password)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 218, in _extract_certs_for_paths
    _certs, _private_key = _extract_cert_from_data(f, password, key_converter, cert_converter)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 237, in _extract_cert_from_data
    certs, private_key = _read_pem_cert_from_data(f, password, key_converter, cert_converter)
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 273, in _read_pem_cert_from_data
    key_pair = key_converter.getKeyPair(obj.decryptKeyPair(provider))
  File "C:\Users\Jeff\Documents\Jython\ldrtest\Lib\_sslcerts.py", line 273, in _read_pem_cert_from_data
    key_pair = key_converter.getKeyPair(obj.decryptKeyPair(provider))
PEMException: org.python.bouncycastle.openssl.PEMException: Unable to create OpenSSL PBDKF: PBKDF-OpenSSL SecretKeyFactory not available
History
Date User Action Args
2017-05-23 19:32:11jeff.allensetrecipients: + jeff.allen
2017-05-23 19:32:11jeff.allensetmessageid: <1495567931.08.0.955908578992.issue2594@psf.upfronthosting.co.za>
2017-05-23 19:32:10jeff.allenlinkissue2594 messages
2017-05-23 19:32:09jeff.allencreate