
On 07/12/2012 06:25 PM, Frantz, Chris wrote:
Greetings,
I've been getting my feet wet with the ovirt-engine codebase. I've followed the instructions on the Building_oVirt_engine page and everything went rather well except for enabling SSL in JBOSS (7.1.1-Final).
I had to do this, instead of what is in the wiki page:
$ cd /usr/share/jboss-as $ keytool -genkey -alias jboss -keyalg RSA -keysize 1024 -keystore .keystore -validity 3650 $ chown jboss-as:jboss-as .keystore $ /usr/share/jboss-as/bin/jboss-cli.sh --connect [standalone@localhost:9999 /] /subsystem=web/connector=https/ssl=configuration/:add [standalone@localhost:9999 /] /subsystem=web/connector=https/ssl=configuration/:write-attribute(name=name,value=https) [standalone@localhost:9999 /] /subsystem=web/connector=https/ssl=configuration/:write-attribute(name=key-alias,value=jboss) [standalone@localhost:9999 /] /subsystem=web/connector=https/ssl=configuration/:write-attribute(name=password,value=PASSWORD) [standalone@localhost:9999 /] /subsystem=web/connector=https/ssl=configuration/:write-attribute(name=certificate-key-file,value=/usr/share/jboss-as/.keystore) [standalone@localhost:9999 /] exit
# service jboss-as restart
My knowledge of jboss is extremely limited, so I don't know if this different procedure is related to a change from one jboss version to the next, a misconfiguration on my part or some other factor.
Would anyone care to comment? Should I update the wiki page with this alternate procedure?
The procedure in that wiki page worked with a previous version of JBoss AS7, it is not up to date, as you discovered. I am preparing an updated version of that page here: http://www.ovirt.org/wiki/Building_Engine_Draft I would appreciate if you can check and maybe amend it. Then, if there are no objections, we could maybe replace the existing page with this one. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.