Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81612

mkcert.py doesn't run on v6.0

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Security 2023-10-16, Security 2023-10-30
    • None
    • 3
    • 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@mongodb.com Sara Golemon (Inactive)
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: