Re: MySQL and NetBeans JPA
Posted by: Filipe Silva
Date: May 04, 2020 10:18AM

It seems the default password is "changeit".

I don't know how glassfish is configured by default or even how to configure it's security options. My guess is that it is configured with some auto-generated keys and self-signed certificates by default but in order to use them it must be able to open the corresponding keystore file. Why it doesn't know the password? I don't know that... maybe a bug?

I suppose you can make a simple test code that just prints the contents of all entries in `System.getProperties()`, the `*` should show up there.

As a temporary workaround, at least on a development environment, you should be able to configure the MySQL connection string with `sslMode=DISABLED` to keep you working, but connections between Glassfish and MySQL won't be encrypted anymore.

Options: ReplyQuote

Written By
Re: MySQL and NetBeans JPA
May 04, 2020 10:18AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.