[SERVER-81612] mkcert.py doesn't run on v6.0 Created: 02/Oct/23  Updated: 19/Oct/23  Resolved: 19/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Sara Golemon
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Security 2023-10-16, Security 2023-10-30
Participants:

 Description   

mkcert.py produces the following error on v6.0:

(venv) ubuntu@ip-10-128-34-152:~/mongo-v6.0$ python3 jstests/ssl/x509/mkcert.py --config jstests/ssl/x509/certs.yml server_ocsp_invalid.pem
Traceback (most recent call last):
  File "/home/ubuntu/mongo-v6.0/jstests/ssl/x509/mkcert.py", line 23, in <module>
    OpenSSL._util.lib.OBJ_create(b'1.2.3.45', b'DummyOID45', b'Dummy OID 45')
AttributeError: module 'lib' has no attribute 'OBJ_create'

v7.0 appears to have replaced OBJ_create, in SERVER-74999. The script on v7.0 appears to rely on an PyOpenSSL upgrade.



 Comments   
Comment by Sara Golemon [ 19/Oct/23 ]

As a policy, let's just say that `mkcert.py` should be run from the master branch so that we only have to worry about updates from there.

Generated at Thu Feb 08 06:46:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.