def _cert_filename(file_prefix):
    """
    Construct the name of a file for use in storing a certificate.
    :param str file_prefix: base file name for the certificate (without the
        extension)
    :return: certificate file name
    :rtype: str
    """
    return file_prefix + '.crt'
