mkcert.py doesn't run on v6.0

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Security 2023-10-16, Security 2023-10-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Sara Golemon (Inactive)
            Reporter:
            Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: