🌐 Как добавить и настроить сертификат ZeroSSL в Apache и Nginx? |

🌐 Как добавить и настроить сертификат ZeroSSL в Apache и Nginx? | Сертификаты

Acme server url

In order to use the ACME protocol with ZeroSSL, this is the server URL to connect to:

Connect via api access key

If you are using one of our Partner ACME Clients, you will be able to connect to the ACME client using your ZeroSSL API access key. Your key can be found in the Developer section of your ZeroSSL management console.

Install ssl certificate on aws – zerossl help center

The instructions below will outline how to install an SSL certificate on an AWS EC2 instance.

Before You Start

Before you start, please make sure you have downloaded your certificate files. Still haven’t downloaded your certificate? To get instructions for how to download your certificate (.zip), you can click here.

After downloading your certificate, you should have a ZIP containing the following certificate files:

  • certificate.crt
  • ca_bundle.crt
  • private.key

Upload Certificate via Management Console:

Now that you have downloaded your certificate files, please follow the steps below to install in on your EC2 instance. In summary, you will need to upload your certificate files to IAM and allocate the certificate to your EC2 load balancer instance.

  1. Log in to your AWS management console and navigate to the EC2 console.
  2. Navigate to the EC2 Console.
  3. Choose Load Balancer under the “Network and Security” section.
  4. Select the load balancer you would like to allocate your certificate to.
  5. Go to the Listener tab, click on “Edit” and then “Add”. Choose “HTTPS” as the protocol. Next, under SSL certificate select “Change” and click on “Upload a new certificate to AWS Identity and Access Management (IAM).”
  6. Now enter your certificate details: this includes a name for your certificate, your private key (private.key), the primary certificatr file (certificate.crt), and the certificate chain (ca_chain.crt) by pasting file contents into the designated areas.
  7. Finally, click on “Save”.
Про сертификаты:  Скачать сертификат на сетки стеклянные строительные марки «Крепикс 2000», «Крепикс 2600» «Крепикс САУ 320» в Москве

Upload Certificate via CLI:

Alternatively, you can also use the AWS command line interface (CLI) in order to upload your certificate files to IAM. To use the AWS command line interface for uploading your certificate to an EC2 instance, please follow the steps below.

Please Note
In order for your upload to work, you may be required to rename your .crt files to .pem.

You can use the following command in order to upload your certificate files to IAM:

aws iam upload-server-certificate --server-certificate-name certificate_object_name --certificate-body file://certificate.crt --private-key file://private.key --certificate-chain file://ca_bundle.crt

The certificate_object_name parameter above can be used to provide a name for your certificate object. Please also note that when you specify a file as a parameter (e.g. for certificate-body), file:// must be included.

IAM Upload Criteria

When uploading certificate files, IAM will verify if the following criteria are met:

  • Certificate files (certificate.csr and ca_bundle.crt) must be in X.509 PEM format.
  • The current date must be between the certificate issuance and expiration date.
  • The certificate and private key files should contain only a single item, not multiple items.
  • The private key must match the certificate.
  • The pivate key must start with -----BEGIN RSA PRIVATE KEY----- and end with -----END RSA PRIVATE KEY-----.
  • The private key must be encrypted with a password.

Congratulations, your site has now been secured using your new SSL certificate!

Overview

ACME stands for Automatic Certificate Management Environment and provides an easy-to-use method of automating interactions between a certificate authority (like ZeroSSL) and a web server. There are many ACME clients out there, all free to use and created to simplify use of the ACME protocol.

Про сертификаты:  Технические ресурсы | Банк России

Получение сертификата zerossl

ZeroSSL – это центр сертификации (CA) или удостоверяющий центр, который позволяет каждому легко установить сертификат для обеспечения безопасности веб-сайта.

👁️ Список из 124 Удостоверящих центров (УЦ) / Certificate Authorities (CA)

Вы можете получить до 3 сертификатов со сроком действия 90 дней бесплатно.

Зарегистрируйтесь на ZeroSSL

После входа появится следующая страница.

Нажмите «New certificate».

Введите URL-адрес, который хотите защитить, и нажмите «Next step».

Выберите 90-дневный сертификат и нажмите Next Step

Давайте продолжим с опцией автоматической генерации CSR

Выбираем бесплатный ( Free ) вариант:

Далее вам необходимо подтвердить право собственности на домен.

Есть несколько вариантов.

Выберите ваш вариант и нажмите Next step.

Наконец, после проверки сертификат SSL готов к загрузке.

Установка сертификата на apache

Далее я установлю Apache на Ubuntu.

Вы можете проверить работу сервера через браузер.

Но, как вы увидите, он не защищен, и поэтому далее мы будем настраивать сертификат, полученный от ZeroSSL.

Включите модуль SSL

sudo a2enmod SSL

Нам придется перезапустить веб-сервер, чтобы изменения вступили в силу

sudo service apache2 restart

Оцените статью
Мой сертификат
Добавить комментарий