Sample 2: Setting up the client

From InterBase
Jump to: navigation, search

Go Up to Sample 2: Setting up the Client and Server for Verifying the Client


To set up the sample client:

1. Copy the ibclient.pem file, which is a PEM formatted file that contains the client certificate and private key, to your HOME directory on the client. Assume that your HOME directory is C:\smistry, then the complete path for the file will be c:\smistry\ibclient.pem.
2. Specify the location of your client certificate and private key on the connection URL. For example, if you are connecting to c:/foo.ib using isql, the command would be:
isql> connect “localhost/3065?ssl=true?clientCertFile=C:\smistry\ibclient.pem??:c:/foo.ib”;