Opened 5 years ago

Closed 5 years ago

#1251 closed (invalid)

pyOpenSSL requirement?

Reported by: jonmills@renci.org Owned by: somebody
Priority: major Milestone:
Component: GPO Version: SPIRAL6
Keywords: ops-monitoring Cc:
Dependencies:

Description

In line 62 of /usr/local/ops-monitoring/local/wsgi/localstore.wsgi, you call a function of pyOpenSSL called 'get_extension_count'.

However, in the version of pyOpenSSL that ships with any Enterprise Linux (6.4), this function does not exist. The version of pyOpenSSL we have is pyOpenSSL-0.10-2.el6.x86_64.

The result, in Apache logs, looks like:

[Wed May 21 21:14:06 2014] [info] [client 152.54.14.3] mod_wsgi (pid=15174, process='localstore', application=''): Loading WSGI script '/usr/local/ops-monitoring/local/wsgi/localstore.wsgi'.
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3] mod_wsgi (pid=15174): Exception occurred processing WSGI script '/usr/local/ops-monitoring/local/wsgi/localstore.wsgi'.
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3] Traceback (most recent call last):
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3]   File "/usr/local/ops-monitoring/local/wsgi/localstore.wsgi", line 112, in application
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3]     if authorized_certificate(cert):
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3]   File "/usr/local/ops-monitoring/local/wsgi/localstore.wsgi", line 62, in authorized_certificate
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3]   File "/usr/local/ops-monitoring/local/wsgi/localstore.wsgi", line 62, in authorized_certificate
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3]     for x in range(cert.get_extension_count()):
[Wed May 21 21:14:06 2014] [error] [client 152.54.14.3] AttributeError: get_extension_count
[Wed May 21 21:14:06 2014] [info] [client 152.54.14.3] Connection closed to child 0 with standard shutdown (server rci-hn.exogeni.net:443)

Change History (1)

comment:1 Changed 5 years ago by dwiggins@bbn.com

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.