encrypt the password in domain.xml when using payara micro?

112 views
Skip to first unread message

Miro S.

unread,
Jun 1, 2018, 7:37:00 AM6/1/18
to Payara Forum
How to encrypt the database password in domain.xml when using payara micro?

I didn't find any command line options: https://payara.gitbooks.io/payara-server/documentation/payara-micro/appendices/cmd-line-opts.html 

Tnx!...

Martijn Morriën

unread,
Jun 1, 2018, 8:07:51 AM6/1/18
to Payara Forum

And follow these instructions to create a create-password-alias:

Op vrijdag 1 juni 2018 13:37:00 UTC+2 schreef Miro S.:

Miro S.

unread,
Jun 1, 2018, 9:08:35 AM6/1/18
to Payara Forum
Hi Martijn,

I know that procedure but I don't know how to handle it with payara micro where I can't really use asadmin.

Or do you know it perhaps?

Cheers
Miro

Martijn Morriën

unread,
Jun 1, 2018, 2:45:57 PM6/1/18
to Payara Forum
Sorry, I was not aware of the missing asadmin in micro. Documentation suggests admin commands could work when using a DAS:

Ondro Mihályi

unread,
Jun 3, 2018, 12:36:00 PM6/3/18
to Martijn Morriën, Miro S., Payara Forum
Hi,

Payara Micro supports asadmin commands at boot time - you can specify them in a text file and pass using for example `--postbootcommandfile` argument, see the documentation: https://docs.payara.fish/documentation/payara-micro/asadmin/pre-and-post-boot-scripts.html

Payara Micro doesn't open admin port for running asadmin commands remotely. However, it's possible to run asadmin commands from within application with Payara Micro API or send a command from Payara Server DAS which is connected to Payara Micro in the same Hazelcast server, see more in the docs: https://docs.payara.fish/documentation/payara-micro/asadmin.html

Ondro

--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/f8dad55a-fb76-4c2a-ad39-b60c1ab6bf7d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages