code: def create_trust(
      principal, trust_type
  ):  # pylint: disable=unused-argument
      trust_file = f"{principal}-{trust_type}.pem"
      trust_store_file = f"{principal}-{trust_type}-store.jks"
      with open(trust_file, "w") as out:
          # FIXME: mTLS, only trust certain principals
          with open(root_cert_file, "r") as root_cert:
              shutil.copyfileobj(root_cert, out)
      echo_check_call(
          [
              "keytool",
              "-noprompt",
              "-import",
              "-alias",
              f"{trust_type}-cert",
              "-file",
              trust_file,
              "-keystore",
              trust_store_file,
              "-storepass",
              "dummypw",
          ]
      )
      return {"trust": trust_file, "trust_store": trust_store_file}
  
file_path: hail/tls/create_certs.py
imports: import argparse
  import json
  import shutil
  import subprocess
  import tempfile
  import yaml
label_desc: Use image node_id 3 for calling a global function with example usage: create_trust(principal, trust_type) and returns: dict