本帖最后由 姜文盛 于 2026-3-30 17:45 编辑
可以支持
方法一
NGINX 反向代理
使用者
↓
https://10.20.86.125
↓
Nginx (443)
↓
http://127.0.0.1:9990/CROSS
修改 nginx.conf
server {
listen 443 ssl;
server_name 10.20.86.125;
ssl_certificate cert.pem;
ssl_certificate_key cert.key;
location /CROSS/ {
proxy_pass http://127.0.0.1:9990/CROSS/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
修改后启用 nginx.exe
方法二
调整中台JBOSS设定
1. 把 digiwin.eai.keystore(数位凭证) 放到 $\CROSS\CROSS\server\default\conf 目录下. 2. 编辑 $\CROSS\CROSS\server\default\deploy\jboss-web.deployer\server.xml
<!-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the JSSE configuration, when using APR, the connector should be using the OpenSSL style configuration described in the APR documentation --> <!-- <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> --> |
改为 <!-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the JSSE configuration, when using APR, the connector should be using the OpenSSL style configuration described in the APR documentation --> <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="250" scheme="https" secure="true" clientAuth="false" strategy="ms" address="${jboss.bind.address}" keystoreFile="${jboss.server.home.dir}/conf/digiwin.eai.keystore" keystorePass="kspw9999" truststoreFile="${jboss.server.home.dir}/conf/digiwin.eai.keystore" truststorePass="kspw9999" sslProtocol="TLS" /> |
调整后需重启中台服务生效
|