def METHOD_NAME(tmpdir):
    from jans.pycloudlib.utils import cert_to_truststore
    tmp = tmpdir.mkdir("jans")
    keystore_file = tmp.join("jans.jks")
    cert_file = tmp.join("jans.crt")
    # dummy cert
    cert_file.write("""-----BEGIN CERTIFICATE-----