'Return a new SSL context suitable for use in a test server.'

def getServerContext(self):

    pem = self._pem.getContent()
    cert = PrivateCertificate.load(pem, KeyPair.load(pem, FILETYPE_PEM), FILETYPE_PEM)
    return cert.options()
