英文:
Tomcat stout logging filled with certificate records
问题
我的Tomcat stout日志文件似乎充斥着数百万行与证书、算法签名等相关的内容。基本上,我的日志文件有8GB大小,其中99%看起来类似于:
添加为受信任的证书:
主题:CN=这里的某些CN,O=这里的某些O公司,C=这里的某些C
颁发者:CN=这里的某些CN,O=这里的某些O公司,C=这里的某些C
算法:RSA;序列号:0xcf08o5c34256a5bt427bf0eb6903054d0
有效期从2008年11月07日14:31:18 EST至2039年12月31日14:40:55 EST
或类似的与算法签名相关的日志。
我似乎找不到任何可能导致这种情况的日志设置。我在考虑可能是由于错误配置的trustStore设置或可能某些调试日志处于启用状态。
我应该在哪里查找以关闭这些类型的日志?
谢谢。
英文:
My Tomcat stout log file seems to fill up with millions of lines related to certificates, algorithm signatures etc. Basically my log file is 8gb and 99% of it looks similar to:
adding as trusted cert:
Subject: CN=SomeCNHere CA, O=SomeOHere Corporation, C=SomeCHere
Issuer: CN=SomeCNHere CA, O=SomeOHere Corporation, C=SomeCHere
Algorithm: RSA; Serial number: 0xcf08o5c34256a5bt427bf0eb6903054d0
Valid from Tue Nov 07 14:31:18 EST 2008 until Mon Dec 31 14:40:55 EST 2039
OR similar related logs regarding the algorithm signatures.
I cant seem to find any log settings that would cause this. I'm thinking maybe it is due to mis-configured trustStore settings or possibly some debug logs are on somewhere.
Where should I look to shut these types of logs off?
Thank you.
答案1
得分: 1
"Educated guess. You don't have a truststore set up, so you're getting logs over and over again every time a certificate is presented.
Try following the suggestions in https://stackoverflow.com/questions/21833732/configure-truststore-in-tomcat to set up a truststore and see if your logs get cleaned up."
英文:
Educated guess. You don't have a truststore set up, so you're getting logs over and over again every time a certificate is presented.
Try following the suggestions in https://stackoverflow.com/questions/21833732/configure-truststore-in-tomcat to set up a truststore and see if your logs get cleaned up.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论