Starting a secured Network Server

Bring up the server, turning on SSL and Java security.

This example uses the customized security policy shown in Sample customized Java security policy file. The command line first brings up the server, turning on SSL and Java Security. It also tells the server that NATIVE credentials will be stored in the mchrystaEncryptedDB database. That last directive causes the Database Owner's credentials to be stored when mchrystaEncryptedDB is created.

java \ \ \ \ \
-Dderby.authentication.provider=NATIVE:mchrystaEncryptedDB \ \ \
org.apache.derby.drda.NetworkServerControl start -p 8246 \
-ssl peerAuthentication
Related concepts
Creating and using a secure database
Stopping the secured Network Server