我无法识别错误来源。我检查了几十次设置,尝试了本地和公开的it,甚至尝试使用不同的web代理版本,并阅读了我在这个主题上可以找到的所有内容(至少这是我的感觉)。
问题:为什么我的代理无法登录到OpenAM?
初始情况:我有两个码头容器。第一个是使用OpenAM运行Tomcat服务器,第二个是运行。两个容器都部署在两台不同的虚拟机上。这两台机器都可以通过它们的公共和私有in相互联系,并且在坞-组合文件'network_mode: host‘被设置。
遵循这个官方的向导,我使用具有以下规范的AM控制台创建代理配置文件:
http://<public_ip_apache_server>:80http://<public_ip_openam_server>:8080/openam在运行Apache the服务器的容器中,我执行以下操作:
/<path>/libcrypto.so和/<path>/libssl.so导出到LD_LIBRARY_PATH。strings libc.so.6 | grep GLIBC_2来支持/usr/lib/x86_64-linux-gnu/ API。echo password > /tmp/pwd.txt创建密码文件,然后是chmod 400 /tmp/pwd.txt。/apache24_agent/bin/agentadmin --s "/usr/local/apache2/conf/httpd.conf" \
"http://<public_ip_openam_server>:8080/openam" "http://<public_ip_apache_server>:80" "/" \
"WebAgent" "/tmp/pwd.txt" --changeOwner --acceptLicence问题:
最后一个命令总是失败,输出如下:
OpenAM Web Agent for Apache Server installation.
Validating...
Error validating OpenAM - Agent configuration.
Installation failed.
See installation log /usr/local/apache2/apache24_agent/bin/../log/install_20201227114136.log file for more details. Exiting.检查错误日志:
2020-12-27 11:41:36 license accepted with --acceptLicence option
2020-12-27 11:41:36 license was accepted earlier
2020-12-27 11:41:36 Found user daemon, uid 1, gid 1
2020-12-27 11:41:36 Found group daemon, gid 1
2020-12-27 11:41:36 OpenSSL library status: <removed for readbility> OpenSSL v1.1.x library support is available
2020-12-27 11:41:36 validating configuration parameters...
2020-12-27 11:41:36 error validating OpenAM agent configuration
agent login to http://<public_ip_openam_server>:8080/openam fails
2020-12-27 11:41:36 installation error
2020-12-27 11:41:36 installation exit系统与软件:
发布于 2020-12-30 12:08:40
您正在使用开放身份平台社区版本吗?我担心Web 5.6.2.0和OpenAM 14.5.4可能不兼容。尝试使用早期的Web版本(例如4.1.1 ),或者切换到OpenIG作为Web的替代。下面有几个有用的链接:
https://github.com/OpenIdentityPlatform/OpenAM/wiki/Quick-Start-Guide
https://stackoverflow.com/questions/65465871
复制相似问题