私は次の手順で行いましたが、そのスロー例外:
1.WindowsServer2003にopenam10.0.0をインストールしました。
2.同じWindowsサーバーマシン上でsslを使用してTomcatを構成しました。
3.正しく構成されており、openamurlにはhttpsからアクセスできます。
4.ubuntuマシンである別のマシンにopenamクライアントSDKをインストールし、そのubuntumachinからを使用してopenamサーバーにログインしようとしています
AuthContext lc = new AuthContext("/","https://server.ensarm.com:8443/openam/namingservice");
AuthContext.IndexType indexType = AuthContext.IndexType.MODULE_INSTANCE;
lc.login(indexType, "DataStore");
return lc;
しかし、私は次の例外を取得しています:
ERROR: Naming service connection failed for https://server.ensarm.com:8443/openam/namingservice
com.iplanet.services.comm.client.SendRequestException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
何が問題なのかわかりませんでした。Javaキーストア(SSL構成に必要)がWindowsサーバーマシンにあり、ubuntuマシンにキーストアがないためですか。
また
キーストアをubuntuマシンにインポートする必要があります。誰かが私がこれから抜け出すのを手伝ってくれませんか。