Products: IMail Express, IMail Server Plus, IMail Server Premium, IMail Server

Creating a SSL certificate to work with Iphone

« Go Back

Information

 
Description

I'm having trouble creating a SSL certificate to work with my Iphone, how can I do this?

Solution

The IMail SSL Utility is currently unable to create an SSL certificate that is supported by Iphone devices.  In order to use SSL with the Iphone you must use the OpenSSL certificate utility to generate your certificate.

Warning: The following utility is not an IMail Utility and is therefore unsupported. For further assistance please use the IMail Forums.

First you must obtain the OpenSSL utility. A Windows ported version such as the one found here can simplify the process.  You will want to down load the file name Win32 OpenSSL vXXXXXX for a 32 bit system or Win64 OpenSSL vXXXXXX for a 64 bit system, where the XXXXXX represents the version number which can and will change).  When you install it, the installer will ask where you want to install the dll files, select the bin folder, it will make your install cleaner.

After the installer has completed, open a command prompt and run "set OPENSSL_CONF=C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\openssl.cfg".  This will set the path in the windows system path to point to the config file so it will not give you errors about unable to find the config file.

Next, create a folder named "certs" under the bin directory that the installer created.

Once you have installed OpenSSL, perform the following steps via the command line.

Note: You will need to change directories to the directory in which OpenSSL resides.

  1. openssl genrsa -des3 -out C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.key 2048. Follow the prompts.
  2. openssl req -new -key C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.key -out C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.csr -config C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\openssl.cfg . Follow the prompts being sure to set the "Common Name" to match your IMail domain name.
  3. openssl x509 -req -days 3650 -in C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.csr -signkey C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.key -out C:\[PATH TO YOUR OPENSSL DIRECTORY YOU JUST INSTALLED]\bin\certs\imailssl.crt
  4. Copy the "certs" folder and paste it into the IMail directory
  5. Open the IMail SSL Utility and select the key and certificate files generated above that are now in the ...\IMail\certs.
  6. Restart the IMail Services.
VersionAll Versions
Attachment 

 
Customer Service Softwaresalesforce.comHome | Product