When I run the following commands:
$ asadmin create-domain --user admin --passwordfile passwords mydomain
$ asadmin start-domain mydomain
$ asadmin enable-secure-admin --passwordfile passwords
$ asadmin stop-domain mydomain
$ asadmin start-domain mydomain
$ asadmin create-instance --passwordfile passwords --node node instance_name
I get prompted to verify the certificate:
Do you trust the above certificate [y|N] -->
Is there a way to automatically trust the certificate so that I do not have to type "y"
during the installation process?
Answer:
Yes. Add the --interactive=false property to the asadmin command.
Example:
$ asadmin --interactive=false command