def METHOD_NAME(virtual_server_setup):
    subject_dict = get_server_certificate_subject(
        virtual_server_setup.public_endpoint.public_ip,
        virtual_server_setup.vs_host,
        virtual_server_setup.public_endpoint.port_ssl,
    )
    assert subject_dict[b"C"] == b"US"
    assert subject_dict[b"ST"] == b"CA"
    assert subject_dict[b"O"] == b"Internet Widgits Pty Ltd"
    assert subject_dict[b"CN"] == b"cafe.example.com"