【问题标题】:I have a failing case when making an IDP connection using pingfederate我在使用 pingfederate 建立 IDP 连接时遇到了一个失败案例
【发布时间】:2017-10-10 12:33:57
【问题描述】:

server.log 显示“signature_status”:“UNVERIFIED”。这是证书问题吗? 还有什么是在 Windows 机器中读取 pingfederate 日志的最佳方法。

【问题讨论】:

    标签: certificate single-sign-on saml pingfederate idp


    【解决方案1】:

    这听起来像是签名验证的问题,可能是证书本身,但更可能是配置问题。确实需要更多信息才能知道它是什么。

    我认为您在 Windows 机器上读取日志时遇到的问题是因为文件很大或移动速度很快。如果文件太大,您可以在 appdir/pingfed*/pingfed*/server/default/conf/log4j2.xml 修改 log4j2.xml 配置文件,以将日志大小减小到在记事本中更易于阅读的内容。这是一个滚动文件附加程序示例,它应该为您提供易于管理的文件。

        <RollingFile name="FILE" fileName="${sys:pf.log.dir}/server.log"
                     filePattern="${sys:pf.log.dir}/server.log.%i" ignoreExceptions="false">
            <PatternLayout>
                <!-- Uncomment this if you want to use UTF-8 encoding instead
                    of system's default encoding.
                <charset>UTF-8</charset> -->
                <pattern>%d %X{trackingid} %-5p [%c] %m%n</pattern>
            </PatternLayout>
            <Policies>
                <SizeBasedTriggeringPolicy
                        size="20000 KB" />
            </Policies>
            <DefaultRolloverStrategy max="5" />
        </RollingFile>
    

    如果您的问题是文件移动速度太快而无法读取,那么您可以考虑在 powershell 中使用 baretail 或 Get-Content 之类的东西,因为它有一个尾部开关。

    【讨论】:

      猜你喜欢
      • 2019-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-19
      • 2016-01-29
      相关资源
      最近更新 更多