users@glassfish.java.net

Re: Migrate SSL App from Apache to GlassFish v3

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Dec 2009 17:38:23 PST

The portecle tool is pretty cool however now that I used it I seem to be going backwards.

I deleted the existing default certificate "s1as".

Using openssl, I created a p12 file from my .crt and .key files and imported into the keystore. It asked for an alias name and not knowing what is required, I used the default name "s1as". It also asked for a password (the same password that was asked for when I created the p12 file)

I tried https and no luck.

I imported the .crt file (using the domain name for the alias), so now I have two entries in my keystore file.

https still doesn't work (http on port 80 does work)

Now, the admin console (port 4848) doesn't work. It tries to start but I end up with a blank browser screen.

Not knowing how the Java security stuff works, I have no idea what I need to have in the keystore for my app to work. With Apache, I just provided the names of my .crt and .key files in my config file and it worked.

I don't even know how to get the admin console working again.
[Message sent by forum member 'kerbo' (kelston_at_us.ibm.com)]

http://forums.java.net/jive/thread.jspa?messageID=377978