Перейти к основному содержимому

How is an ECC Certificate Signing Request (CSR) generated for Apache HTTP Server using OpenSSL?

User-added image

Pre-requirements:

  • OpenSSL version 0.9.8n (Recommend version 1.0.2)
  • Apache HTTP Server 2.5

Here is the Solution :

The process below will guide you through the steps of creating a Private Key and CSR

Launch the OS Terminal or Command Prompt:

Часть 1 из 2. Creating an ECC private key

Type the following command:

Openssl ecparam –out <your keyname> –name prime256v1 –genkey

Example:

User-added image

ВНИМАНИЕ! Replace "mykey.key" with your own values

Часть 2 из 2. Generating a CSR

Type the following command:

OpenSSL req –new –sha256 –key <your keyname> -nodes –out <your CSR filename>

Example:

User-added image

Once prompted for a "Common Name" enter the Fully Qualified Domain Name (FQDN) that you wish to secure in the certificate

For Wildcard: If you are going to be requesting a Wildcard Certificate you will need to place an asterisk * in front of the domain (e.g. *.entrust.com)

You will also be prompted for the following information:

Attribute Prefix Description Example
Страна/регион c Business Location - Country CA
State/Province ST Business Location - State/Province Онтарио
City/Locality L Business Location - City Оттава
Organization Unit OU Organization Unit if required to be listed* Optional*
Organization O Organization’s legal business name Решения цифровой безопасности и защиты данных | Entrust
Common Name CN Domain to be secured by certificate www.testcertificates.com

ВНИМАНИЕ! Do not use a Challenge Password

* If you require an Organization Unit, the value you place will be required to pass verification. If the OU is considered misleading or a registered trademark to a different legal entity it will be removed from certificate that is issued and show up with no value.

User-added image

If you have any questions or concerns please contact the Entrust Certificate Services Support department for further assistance:

Hours of Operation:
Sunday 8:00 PM ET to Friday 8:00 PM ET
North America (toll free): 1-866-267-9297
Outside North America: 1-613-270-2680 (or see the list below)
NOTE: Smart Phone users may use the 1-800 numbers shown in the table below.
Otherwise, it is very important that international callers dial the UITF format exactly as indicated. Do not dial an extra "1" before the "800" or your call will not be accepted as an UITF toll free call.

Страна Number
Австралия 0011 - 800-3687-7863
1-800-767-513
Австрия 00 - 800-3687-7863
Бельгия 00 - 800-3687-7863
Дания 00 - 800-3687-7863
Финляндия 990 - 800-3687-7863 (Telecom Finland)
00 - 800-3687-7863 (Finnet)
Франция 00 - 800-3687-7863
Германия 00 - 800-3687-7863
Гонконг 001 - 800-3687-7863 (Voice)
002 - 800-3687-7863 (Fax)
Ирландия 00 - 800-3687-7863
Израиль 014 - 800-3687-7863
Италия 00 - 800-3687-7863
Япония 001 - 800-3687-7863 (KDD)
004 - 800-3687-7863 (ITJ)
0061 - 800-3687-7863 (IDC)
Корея 001 - 800-3687-7863 (Korea Telecom)
002 - 800-3687-7863 (Dacom)
Малайзия 00 - 800-3687-7863
Нидерланды 00 - 800-3687-7863
Новая Зеландия 00 - 800-3687-7863
0800-4413101
Норвегия 00 - 800-3687-7863
Сингапур 001 - 800-3687-7863
Испания 00 - 800-3687-7863
Швеция 00 - 800-3687-7863 (Telia)
00 - 800-3687-7863 (Tele2)
Швейцария 00 - 800-3687-7863
Тайвань 00 - 800-3687-7863
Великобритания 00 - 800-3687-7863
0800 121 6078
+44 (0) 118 953 3088