通过https(SSL)访问部署在JBoss7.1上的OSGi捆绑包
我在JBoss 7.1上部署了一个简单的java webapp(SSO服务器)通过https(SSL)访问部署在JBoss7.1上的OSGi捆绑包,ssl,jboss,https,osgi,Ssl,Jboss,Https,Osgi,我在JBoss 7.1上部署了一个简单的java webapp(SSO服务器) JBoss配置为通过443端口、selfsignet证书和密钥库使用SSL <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true"> <ssl name="https" password="12345678" certificate-key
JBoss配置为通过443端口、selfsignet证书和密钥库使用SSL
<connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
<ssl name="https" password="12345678" certificate-key-file="../standalone/configuration/sso.keystore"/>
</connector>
...
<socket-binding name="https" port="443"/>
我还将此配置添加到JBoss standalone.xml中:
<socket-binding name="osgi-http" interface="management" port="8080"/>
当我部署所有捆绑包时,我通过http从servlet获得响应
"http://localhost:8080/sso-服务/授权”
但是当我尝试的时候”https://localhost:443/sso-service/auth“我收到了我的selfsignet-sert,但没有从servlet中恢复。
据我所知,我的servlet只在“OSGiHTTP”-8080端口上运行
那么,我是否可以获得此捆绑包的https访问权限,需要哪些其他配置
<socket-binding name="osgi-http" interface="management" port="8080"/>