我正在使用CLI添加新的安全领域和https-listener:
/core-service=management/security-realm=HTTPSRealm/:add
/core-service=management/security-realm=HTTPSRealm/server-identity=ssl:add(alias=ssl,keystore-path="/path/to/configuration/testCA.jks", keystore-password="12345678")
reload
/subsystem=undertow/server=default-server/https-listener=https:add(socket-binding="proxy-https", security-realm="HTTPSRealm")
在最后一步,我只能得到这个:
{
"outcome" => "failed",
"failure-description" => undefined,
"rolled-back" => true
}
我已经尝试了我能找到的所有解决方案。 (作为批处理等运行)
修改
侦听器配置添加如下:
/socket-binding-group=standard-sockets/socket-binding=proxy-http:add(port=9080)
/socket-binding-group=standard-sockets/socket-binding=proxy-https:add(port=9443)
答案 0 :(得分:0)
您是否为proxy-https
创建了套接字绑定?默认绑定为https
。试试吧
/ subsystem = undertow / server = default-server / https-listener = https:add(socket-binding = https,security-realm = HTTPSRealm)