configure SSL(https) in jboss admin console - standalone mode
configure SSL(https) in application level - standalone mode
configure SSL(https) in jboss admin console - domain mode
configure SSL(https) in application level - domain mode
keytool -genkeypair -alias server -storetype jks -keyalg RSA -keysize 2048 -keystore application.keystore
/core-service=management/management-interface=http-interface:write-attribute(name=secure-socket-binding, value=management-https)
/core-service=management/management-interface=http-interface:undefine-attribute(name=socket-binding)
/core-service=management/security-realm=newRealm:add
/core-service=management/security-realm=newRealm/authentication=properties:add(path=new-mgmt-users.properties,relative-to=jboss.server.config.dir)
/core-service=management/management-interface=http-interface:write-attribute(name=security-realm,value=newRealm)
/core-service=management/security-realm=newRealm/server-identity=ssl:add(keystore-path=identity.jks,keystore-relative-to=jboss.server.config.dir,keystore-password=password, alias=server)
7 сен 2024