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

Refactor our SSL Manager classes to introduce unit testing

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security

      Our current SSLManager classes do not fully support unit tests. We currently only support reading files from disk, whereas we should support loading certificates from bytes.

      Currently our SSLManager unit tests are lacking in coverage. We should be able to cover our important functions - such as parseAndValidatePeerCertificate, but cannot yet because of the current class design. We should redesign these classes so that we can increase our testing coverage of this unit.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shreyas.kalyan@mongodb.com Shreyas Kalyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: