Starting a secured Network Server

Bring up the server and turn on SSL.

This example first brings up the server and turns on SSL. 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