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.com
      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
      Note: For the Common Name value in a production environment, Sybase recommends that you use the DNS name of the Unwired Server, or (at minimum) the domain-name where relay server is running.

      For a development/test environment that uses SHRS (which runs at relayserver.sybase.com), use *.sybase.com in Common Name of the certificate. The *.domain-name is commononly used in a farm of HTTP servers that also uses a load balancer.

Use the generated CA certificate file to sign the server certificate, or do so using the root CA certificate, as described in Signing the Server Certificate.

Related reference
Certificate Creation (createcert) Utility