Merge pull request #3790 from bocoup/apt-secure-key

Update documentation to fetch keys securely
This commit is contained in:
Johannes Meyer 2019-05-22 08:19:30 +02:00 committed by GitHub
commit 8d8ced0056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ Below is a list with **examples** for various distributions.
**Debian Stretch**: **Debian Stretch**:
``` ```
wget -O - http://packages.icinga.com/icinga.key | apt-key add - wget -O - https://packages.icinga.com/icinga.key | apt-key add -
echo 'deb http://packages.icinga.com/debian icinga-stretch main' >/etc/apt/sources.list.d/icinga.list echo 'deb http://packages.icinga.com/debian icinga-stretch main' >/etc/apt/sources.list.d/icinga.list
apt-get update apt-get update
``` ```
@ -57,7 +57,7 @@ apt-get update
**Ubuntu Xenial**: **Ubuntu Xenial**:
``` ```
wget -O - http://packages.icinga.com/icinga.key | apt-key add - wget -O - https://packages.icinga.com/icinga.key | apt-key add -
add-apt-repository 'deb http://packages.icinga.com/ubuntu icinga-xenial main' add-apt-repository 'deb http://packages.icinga.com/ubuntu icinga-xenial main'
apt-get update apt-get update
``` ```