Generating a Certificate Request

Configure the Web server to use a certificate authority (CA) certificate that you create or another certificate signed by a CA.

You can use either the server's administration tool or the createcert utility to generate the certificate request.

  1. To create a signed certificate request on the Web server:
    1. Open your server's administration tool. For example, on IIS, open IIS Manager.
    2. Use the administration tool to create a new certificate request, and save the text file.
  2. To create a certificate request with createcert:
    1. At a command prompt, change to <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\SQLAnywhere11\BIN32.
    2. Run:

      createcert -r

    3. Follow the prompts to complete the required information. For example:
      <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\SQLAnywhere11\BIN32>createcert -r
      SQL Anywhere X.509 Certificate Generator Version 11.0.1.2405
      Enter RSA key length (512-16384): 1024
      Generating key pair...
      Country Code: US
      State/Province: CA
      Locality: Dublin
      Organization: MyCompany, Inc
      Organizational Unit: Engineering
      Common Name: MyCompany
      Enter file path to save request: certreq.txt
      Enter file path to save private key: myclient_private.crt
      Enter password to protect private key: sybase

      See System Administration > System Reference > Command Line Utilities > Certificate and Key Management Utilities > Create Certificate (createcert) Utility.

Use the generated CA certificate file to sign the server certificate, or do so using the root CA certificate, as described in System Administration guide > Security Administration > Security Layers > Transport Security Setup > Encrypting Relay Server Connections > Signing the Certificate.