Cryptzone Support

If you wish to submit a support ticket please sign in to your customer portal or use the “submit a ticket” button at the top menu.
If you need to find documentation about our Sheriff Suite please login to the Hive- Click Here



Using SSL for the AppGate (classic) clients download_page

« Go Back

Why isn't https the default?

We are sometimes asked if handing out the clients via plain http instead of https isn't a security problem. We don't think so - this is why:

  • Regardless of http or https anybody can download the clients or properties files.
  • Using https will prevent somebody modifying the client or the properties file during the transfer - but since both clients and properties files are signed - tampered files will be detected anyway.

Using https instead of the default http will cause two potential problems:

  • If you are using or are considering using the SSL-client, steps to avoid a port conflict must be taken. See here about avoiding this.
  • It is increasingly useful to add a second port 443 (ie https) as an alternative to the default port 22 for the AppGate server-client communication. This is because some public Wifi hotspots block everything except ports 80 and 443. Using https to distribute the clients will deny you this possibility.

For these reasons we do not recommend our customers to use https instead of http to distribute the clients.

Procudure overview:

The procedure to change http to https is as follows:

  1. Generate a server key pair
  2. Create a server certificate and certificate signing request.
  3. Have a Certificate Authority (CA) sign this.
  4. Installed the signed certificate on the AppGate server
  5. Reconfigure the AppGate server to use the certificate and to listen to the https port

Procedure details

The code extracts below will generate a CSR accepted by Thawte, you may have to use slightly different options for other CAs, consult their documentation if needed. All the commands in the code excerpts are to be run on the AppGate server as root in /var/opt/appgate/local. You may need to create this directory.

    1. Generate a server key pair. Do the following to generate your server key pair (Important! Use no passphrase -- ie no -des3):

      openssl genrsa 512/1024 >
    2. Next it's necessary to generate the CSR file itself.

      While generating the CSR you will be asked lots of questions. Enter appropriate answers. The CN or "YOUR name" should be (Of course should be replaced with the appropriate info.)

      Your CA should be able to provide you with more details about this process. Use same info as for Apache-SSL. Thawte provides info for this here.)

      openssl req -new -key >

The file "" is your CSR.

  1. Submit the CSR to your CA, together with all other required documentation, info and payment.
  2. You should recieve your certifcate from the CA. Make sure that it is in the correct format. (Apache-OpenSSL compatible format should work. It is X509 format, base64 encoded.
  3. Transfer the key file ( and the certificate (lets call it "" to the AppGate server (place them in /var/opt/appgate/local).
  4. Concatenate the two files.
    cat > /var/opt/appgate/certs/
  5. Tell ag_httpd to use this file:
    ag_cfggetset -s ag_httpd.certfile /var/opt/appgate/certs/
  6. Restart ag_httpd by running 
    /etc/init.d/ag_httpd restart

You are now done! The AppGate webserver should begin listening on port 443 (SSL port) as well as port 80.

By default though, port 80 will be used by the clients. To remedy that, change the links to use "https" instead of "http". Ie:

Article Info
3/13/2015 8:43 AM
6/13/2017 9:01 AM



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255