Importing a SSL certificate using the keytool utility results in an Illegal Header error
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
Attempting to import a new certificate into your local keystore using the keytool utility results in an error:
keytool error: java.security.cert.CertificateException: java.io.IOException: Illegal header: -----BEGIN CERTIFICATE-----原因
This error is generally caused by a white space character in the header of the certificate. See this Stackflow discussion for more details.
ソリューション
Locate and remove any whitespace from the header of the certificate. See this discussion for tips on how this can be accomplished.
この内容はお役に立ちましたか?