def METHOD_NAME(self) -> dict:
    conn_props = {}
    addr = self.websocket.remote_address
    if addr:
        conn_props[DriverParams.PEER_ADDR.value] = f"{addr[0]}:{addr[1]}"
    addr = self.websocket.local_address
    if addr:
        conn_props[DriverParams.LOCAL_ADDR.value] = f"{addr[0]}:{addr[1]}"
    peer_cert = self.websocket.transport.get_extra_info("peercert")
    if peer_cert:
        cn = get_certificate_common_name(peer_cert)
    else:
        if self.secure:
            cn = "N/A"
        else:
            cn = None
    if cn:
        conn_props[DriverParams.PEER_CN.value] = cn
    return conn_props