手順
- Talend Remote Engineを開始します。
-
Firefoxなどのシンプルなブラウザーを使ってhttps://localhost:9004/configurationにアクセスしてみてください。
次のエラーメッセージが表示される場合、ブラウザーには信頼できる証明書がありません:
An error occurred during a connection to localhost:9001. SSL peer cannot verify your certificate. (Error code: ssl_error_bad_cert_alert)
-
クライアント証明書をブラウザーに追加します。
FirefoxはPKCS12キーストアのインポートをサポートしています。そのため、JKSキーストアをPKCS12キーストアに「変換」します。
keytool -importkeystore -srckeystore clientKeystore.jks -srcstoretype JKS -destkeystore client.pfx -deststoretype PKCS12 Enter destination keystore password: Re-enter new password: Enter source keystore password: Entry for alias clientkey successfully imported. Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
- [Tools] (ツール) > [Options] (オプション) > [Advanced] (詳細設定)ををクリックして、クライアント証明書をFirefoxにインポートします。
- [Certificates] (証明書)タブで、[View Certificates] (証明書の表示)をクリックします。
- [Your Certificates] (ユーザーの証明書)タブで[Import...] (インポート...)をクリックし、client.pfxキーストアファイルを選択します。
-
https://localhost:9004/configurationにもう一度アクセスしてみます。
信頼できるクライアントとしてアクセスできるようになります。