To start the database server with transport-layer security, supply the server identity file name and the password protecting the server's private key.
For an overview of the steps required to set up transport-layer security, see Setting up transport-layer security.
Use the -ec database server option to specify the identity and identity_password parameters. If you want to allow unencrypted connections over shared memory, you must also specify the -es option.
Following is the syntax of a partial dbsrv12 command line:
-ec tls( tls_type=cipher; identity=server-identity-filename; identity_password=password ) -x tcpip
cipher The cipher to use. The cipher can be rsa or ecc for RSA and ECC encryption, respectively. For FIPS-approved RSA encryption, specify tls_type=rsa;fips=y. RSA FIPS uses a separate approved library, but is compatible with SQL Anywhere 9.0.2 or later clients using RSA.
For a list of supported platforms for FIPS, see http://www.sybase.com/detail?id=1061806.
The cipher must match the encryption (ECC or RSA) used to create your certificates.
For information about enforcing the FIPS-approved algorithm, see -fips dbeng12/dbsrv12 server option.
An identity file contains the public certificate and its private key. For certificates that are not self signed, the identity file also contains all the signing certificates.
For more information about creating the server certificate, which can be self-signed, or signed by a Certificate Authority or enterprise root certificate, see Creating digital certificates.
password The password for the server private key. You specify this password when you create the server certificate.
You can also start the database server with simple encryption. Simple encryption makes it more difficult for someone using a packet sniffer to read the network packets sent between the client and the server, but does not assure data integrity or provide server authentication.
You specify the TCP/IP protocol using the -x database server option. See -x dbeng12/dbsrv12 server option.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|