Getting a SSL certificate from GoDaddy

circle-info

Disclaimer: We are not affiliated with GoDaddy. This example is provided to make uniGUI developers familiar with the steps to set up an SSL site for Standalone and Windows Service uniGUI applications.

This section describes integrating an SSL certificate obtained from GoDaddyarrow-up-right with a uniGUI Standalone or Windows Service server. This guide does not cover the SSL mode for ISAPI DLLs; securing an ISAPI site should be done by installing your SSL certificate in Microsoft IIS (beyond the scope of this guide).

Start by choosing the right SSL plan for your application (single domain, multiple domains, or wildcard). Most likely a single-domain certificate will be sufficient for a uniGUI server. After purchase, create a Certificate Signing Request (CSR). The CSR contains the information for your certificate and as part of creating it a private key is created. Below we describe creating a CSR using OpenSSL.

1

Create the CSR and private key with OpenSSL

Start a command prompt with administrative privileges. In the command line type:

Generate CSR and key (OpenSSL)

This command creates:

  • key.pem — your private key (keep it safe).

  • req.csr — your Certificate Signing Request.

OpenSSL will prompt for several fields (Distinguished Name). Provide the correct domain name as the Common Name (CN). For example, to protect elite-prime.com use:

  • Common Name: www.elite-prime.com

If your certificate supports wildcards, enter it as *.yourdomain.com.

Example OpenSSL interactive output (truncated):

2

Submit the CSR to GoDaddy

Open the req.csr file in a text editor, copy its content, and paste it into GoDaddy's CSR input area when prompted. GoDaddy will guide you through domain ownership verification and any additional steps required.

When GoDaddy has validated your request and completed verification, they will provide certificate files for download.

3

Download and choose server type

When downloading the certificate from GoDaddy, choose the server type "Other" and download the ZIP bundle. The ZIP typically contains:

  • A root bundle (e.g. gd_bundle-g2-g1.crt)

  • A site certificate file (e.g. 98d81da6dfe2095b.crt)

You will use these files to create the three files required by uniGUI: cert.pem, root.pem, and key.pem.

4

Prepare the three uniGUI files

  1. key.pem

    • You already created key.pem with OpenSSL. If you used another tool to create the CSR, you should have a private key file — rename it to key.pem if necessary. The key file must look like:

  1. root.pem

    • The root certificate comes from your SSL provider and in the GoDaddy example is gd_bundle-g2-g1.crt. Open it in an editor to confirm it starts with -----BEGIN CERTIFICATE----- and rename it to root.pem.

  1. cert.pem

    • This is your site certificate file received from GoDaddy (e.g. 98d81da6dfe2095b.crt). Rename it to cert.pem.

After these renames, you should have:

  • cert.pem (site certificate)

  • root.pem (root/bundle certificate)

  • key.pem (private key)

Once you have cert.pem, root.pem, and key.pem prepared and placed where uniGUI expects them, your uniGUI Standalone or Windows Service server can be configured to use the SSL certificate.

clip0111
clip0112