admin管理员组文章数量:1410697
[server]
hostname = "mycn"
internal_hostname = "mycn"
offset=1
base_path = "${carbon.protocol}://${carbon.host}:${carbon.management.port}"
#discard_empty_caches = false
server_role = "default"
i have added this in my deployment.toml and put the new certificate but when i try to access the /publisher/apis i get a error and in the logs i get :
Caused by: java.security.cert.CertificateException: No name matching localhost found
i think its something in the identity.xml file
<!--Intermediate certificate validation for certificate based requests-->
<IntermediateCertValidation enable="false">
<IntermediateCerts>
<!--Add intermediate certificate CN. Multiple <CertCN> elements can be used for multiple certificates.-->
<CertCN>localhost</CertCN>
</IntermediateCerts>
<ExemptContext>
<!--Add exemptable context paths. Multiple <Context> elements can be used for multiple contexts.-->
</ExemptContext>
</IntermediateCertValidation>
but i cant change localhost as its being overridden when i restart the app
[2025-03-07 12:31:58,461] INFO {.wso2.config.mapper.ConfigParser} - Configurations Changed in :repository/resources/security/sslprofiles.xml
[2025-03-07 12:31:58,461] INFO {.wso2.config.mapper.ConfigParser} - Configurations Changed in :repository/conf/identity/identity.xml
[2025-03-07 12:31:58,461] INFO {.wso2.config.mapper.ConfigParser} - Configurations Changed in :repository/resources/security/listenerprofiles.xml
[2025-03-07 12:31:58,461] INFO {.wso2.config.mapper.ConfigParser} - Overriding files in configuration directory /home/wso2carbon/wso2am-4.3.0
any idea?
本文标签: javaSSL Certificate configuration for WSO2 API 43Stack Overflow
版权声明:本文标题:java - SSL Certificate configuration for WSO2 API 4.3 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744928710a2632763.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论