1.3.6. セキュリティーの既知の問題

1.3.6.1. コンソールへのログイン時の内部エラー 500

Red Hat Advanced Cluster Management for Kubernetes がインストールされ、OpenShift Container Platform がカスタム Ingress 証明書でカスタマイズされると、500 Internal Error メッセージが表示されます。OpenShift Container Platform 証明書が Red Hat Advanced Cluster Management for Kubernetes の管理 Ingress に含まれていないため、コンソールにアクセスできません。以下の手順を実行して OpenShift Container Platform 証明書を追加します。

  1. 新しい証明書に署名するために使用される認証局が含まれる ConfigMap を作成します。ConfigMap は openshift-config namespace で作成されたものと同じである必要があります。以下のコマンドを実行します。

    oc create configmap custom-ca \
         --from-file=ca-bundle.crt=</path/to/example-ca.crt> \
         -n open-cluster-management
  2. 以下のコマンドを実行して multiclusterhub YAML ファイルを編集します。

    oc edit multiclusterhub multiclusterhub
    1. customCAConfigmap のパラメーター値を編集して spec セクションを更新します。パラメーターは次のような内容になります。

      customCAConfigmap: custom-ca

上記の手順が完了したら、変更がチャートに伝播されるまで数分待ち、ログインし直します。OpenShift Container Platform 証明書が追加されます。