技术文章 - CS253318
如何在 Windchill PDMLink 中以 SSL 模式配置独立 Solr
已修改: 28-Nov-2025
适用于
- Windchill PDMLink 11.0 to 12.0
说明
- 如何在SSL模式下配置Solr?
- 为独立索引搜索服务器 (Solr) 配置 SSL 后无法登录 Solr 用户界面 (UI)
- 浏览器用户界面 (UI) 报告以下错误:
HTTP ERROR 401 Problem accessing /solr/. Reason: Unauthorized Powered by Jetty://
- 在SSL模式下配置solr后Solr Server启动失败
- 在solr.log日志文件中,它报告以下错误:
WARN (main) [ ] o.e.j.u.c.AbstractLifeCycle FAILED SslContextFactory@b2c9a9c(./etc/solr-ssl.keystore.jks,./etc/solr-ssl.keystore.jks): java.io.IOException: Keystore was tampered with, or password was incorrect java.io.IOException: Keystore was tampered with, or password was incorrect at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780) at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56) at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224) Caused by: java.security.UnrecoverableKeyException: Password verification failed at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
- 运行批量索引工具时索引失败并出现以下错误: windchill wt.index.BulkIndexTool
ERROR [IndexQueue2.PollingThread] wt.index.SolrIndexer Administrator - Error in delete method org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at https://<solr host name>:<solr port number>/solr/wblib: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 401 Unauthorized</title> </head> <body><h2>HTTP ERROR 401</h2> <p>Problem accessing /solr/wblib/update. Reason: <pre> Unauthorized</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> Caused by: wt.util.WTException: Error processing collection at wt.index.IndexingServiceImpl.updateIndexer(IndexingServiceImpl.java:235) at wt.index.StandardIndexPolicyManager.updateIndexer(StandardIndexPolicyManager.java:123)
- 升级到Windchill 11.0 M030 CPS03后,Solr 无法索引对象
"ERROR (qtp1514322932-17) [ x:wblib] c.p.s.u.p.PTCUpdateRequestProcessor error getting content javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"
- 在启用 SSL 的重新托管 Solr 服务器中创建 Solr 核心时遇到问题:
INFO org-apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword INFO org-apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.truststorePassword Connection to <Source_Solr_Server> failed
这是文章 253318 的 PDF 版本,可能已过期。最新版本 CS253318