
Dialogic 4000 Media Gateway Series SU4.1 Reference Guide
78
To use Microsoft Active Directory Certificate Services to generate private key files and
certificates for the DMG4000 Gateway, follow these steps:
1. Create a private key file and a certificate request file with a third party program. For
an example, see below.
Example of Creating a Private Key File and Certificate Request
The following example shows how to create a security certificate using openssl:
1. (If you use the openssl that was preinstalled on the DMG 4000 Gateway, you
can skip this step.) Download and install openssl:
http://gnuwin32.sourceforge.net/packages/openssl.htm
2. Create a folder to hold the key file and certificate request; for example:
c:\Keys\SBA1.
3. In Windows Explorer, search for the openssl.conf file, and make note of the
directory path for the file. On the DMG4000 Gateway SU4.1, the openssl.conf
file is in the C:\Program Files (x86)\GnuWin32\share\openssl.cnf directory.
4. Execute openssl req commands to request both a private key file and a
certificate request file. When you execute these commands, you must use the
–config option to point to openssl.conf; otherwise you will get an error.
For example, the following commands request a private key file named
priv.cer and a certificate request file named request.csr. This example uses
the default install location of OpenSSL. You can copy these commands if you
want to use the same install location.
C:\Program Files (x86)\GnuWin32\bin>openssl req -new -nodes -keyout c:\keys\sba
1\priv.cer -out c:\keys\sba1\request.csr -config "C:\Program Files
(x86)\GnuWin32\share\openssl.cnf"
Output like the following appears:
Loading 'screen' into random state – done
Generating a 1024 bit RSA private key
..............++++++
..........++++++
writing new private key to 'c:\keys\sba1\priv.cer'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
5. Enter values for the requested fields. The values you enter make up the
Distinguished Name (DN) of the CA certificate. The value for Common Name
is the most important value, and it must be the exact FQDN. Leave the values
for the ‗extra attributes‘ blank.
Comentarios a estos manuales