class_docstr: Tests for SSL connections
  
  This relies on the --redis-ssl-url purely for rebuilding the client
  and connecting to the appropriate port.
code: def test_ssl_ocsp_called_withcrypto(self, request):
      r = self._create_oscp_conn(request)
      with pytest.raises(ConnectionError) as e:
          assert r.ping()
          assert "No AIA information present in ssl certificate" in str(
              e
          )
  
      # rediss://, url based
      ssl_url = request.config.option.redis_ssl_url
      sslclient = redis.from_url(ssl_url)
      with pytest.raises(ConnectionError) as e:
          sslclient.ping()
          assert "No AIA information present in ssl certificate" in str(
              e
          )
  
imports: import socket
  import ssl
  from urllib.parse import urlparse
  import pytest
  import redis
  from redis.exceptions import ConnectionError, RedisError
  from .conftest import skip_if_cryptography, skip_if_nocryptography
  from .ssl_utils import get_ssl_filename
label_desc: Use image node_id 8 for calling the TestSSL obj's underlying member method code with example usage: obj.test_ssl_ocsp_called_withcrypto(request) without return types