This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
2) Change the URL *-ds.xml file to use the URL that comes out of step 1
3) Add the private key (from the credentials crated in step 1) to the credential store used by JBoss AS (one way to do this is to add it to the jdk_home/jre/lib/security/jssecacerts file, but there are other possibilities also). The important thing is that the JVM running JBoss AS needs the private key to be able to do the SSL communication.
Caveat: the above is an assumption based on what I do to do to get Java apps to talk to SSL web services; I have never actually set up SSL with MySQL but I suspect the steps are similar.