Use certificate tables instead of ssl_cipher_get_cert_index.